- Create dynamic navbar menu using pure vanilla JavaScript.
- Add active state to the section, it should be clear which section is being viewed while scrolling through the page.
- Check if the element is near the top of viewport if it is than add active class to the section.
- Smooth Scroll while clicking on the anchor tag and it should take user to that section.
pa55ion / landing-page Goto Github PK
View Code? Open in Web Editor NEWLanding page with dynamic navbar and section active state
Home Page: https://pa55ion.github.io/landing-page/.