- The NavBar is Built dynamically after the page is loaded
- When the user scrolls the section beeing viewed changes it's backgroud color
- The NavBar list item backgroud color changes too with the corresponding section.
- When the window is scrolled down the NavBar goes up in 0.5s
- css -styles.css
- js -app.js
- index.html
- README.md
- all functions called by events
- I used getBoundingClientRect method to give the active class to the section in view and it's corresponding NavBar list item.