Interview practice question
Building a responsive navigation bar
Frontend Engineering · HTML and CSS · Beginner
How would you build a navigation bar that works on both desktop and mobile?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Semantic nav with list of links.
- Flexbox for horizontal layout.
- Mobile: menu button toggling links.
- aria-expanded, keyboard support.
- Media query breakpoint.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.