Thanks to visit codestin.com
Credit goes to github.com

Skip to content

haquanq-frontendmentor/intro-section-with-dropdown-navigation

Repository files navigation

Frontend Mentor - Intro Section With Dropdown Navigation Solution

This is a solution to the Intro section with dropdown navigation challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Solution post Live demo

Table of Contents

🌅 Project Overview

Challenge Requirements

  • View the relevant dropdown menus on desktop and mobile when interacting with the navigation links
  • View the optimal layout for the content depending on their device's screen size
  • See hover states for all interactive elements on the page

Status

Accessibility

  • Responsive accross different screen sizes
  • Interactive elements have clear focus indicator

Preview (Desktop)

🌠 Tech Stack and Approach

Built With

  • HTML5 – Semantic structure
  • CSS Grid & Flexbox – Layout
  • PostCSS – Nested rules, custom media queries, future CSS features, minification
  • Stylelint – CSS linting, code style consistency
  • TypeScript - Interactivity and application logic
  • Vite - Fast development server, production build and easy configuration

Approach

🍃 Local Development

Prerequisites

Install the following:

  • Git (latest version)
  • Node.js (latest LTS recommended)
  • pnpm (latest version)

Setup

git clone https://github.com/haquanq-frontendmentor/intro-section-with-dropdown-navigation.git
cd intro-section-with-dropdown-navigation
pnpm install

Start Development Server

pnpm dev

🍁 Deployment

Deployed to Github Pages via Github Actions (manually triggered).