Problem Statement
Design a responsive horizontal navigation menu using HTML and basic CSS.
Explanation
A responsive navigation menu uses unordered lists styled with CSS. For small screens, you can stack items vertically or hide them behind a hamburger icon.
Code Solution
SolutionRead Only
<nav>
<ul style="list-style:none;display:flex;gap:10px;">
<li><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>Practice Sets
This question appears in the following practice sets:
