- Landing Page
landing page (web page). Using Javascript, CSS and HTML starter Code files, I was able to make some changes to styles and add some dynamic features.
CSS HTML Javascript
I - The menu is dynamically built with Javascript :
- Creating elements with appropriate attributes, classes and ids.
- Creating appropriate content inside the elements using (ids or other useful attributes)
- Nesting them in the correct order (appending).
II - The navigation between sections is done with Javascript :
- Adding eventListener on each anchor tag for clicking event.
- Creating a function that uses scrollIntoView() to scroll smoothly to appropriate section (clicked section)