This project is a responsive landing page navigation bar with an interactive menu that changes its appearance on scroll and has hover effects. It is built using HTML, CSS, and JavaScript.
- Fixed position navigation bar visible on all pages.
- Scroll effect: Navbar background and padding change after scrolling.
- Hover effect: Smooth underline animation on menu items.
- Responsive design: Collapsible hamburger menu for mobile devices.
- Interactive menu toggle: Opens and closes smoothly on click.
project-folder/
βββ index.html # Main HTML file
βββ style.css # CSS styles for layout and animations
βββ script.js # JavaScript for scroll and menu toggle interactions
- HTML5 for structure
- CSS3 for styling and animations
- JavaScript (ES6) for interactivity
- Download or clone this repository.
- Make sure
index.html,style.css, andscript.jsare in the same folder. - Open
index.htmlin a web browser. - Scroll or click on the hamburger icon to see the interactive effects.
- On desktop, the navigation menu items are displayed inline.
- On mobile (screen width β€ 768px), the menu becomes a hamburger icon that toggles the menu visibility.