Building a basic landing page using Java Script to make it responsive and dynamically add and highlight sections on scrolling.
-
The navigation bar is adding new sections Dynamically.
-
Automatically detect the active section in the viewport.
-
The active section been highlighted in the navigation bar.
-
Smooth scrolling.
-
Element.scrollIntoView()
-
Element.getBoundingClientRect()
-
Create li
-
Active Section
© Udacity - Shehabeldin Alhawary