Skip to content

elemarmar/navigation-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Navigation menu

coverVid

A simple animated navigation menu with a burger icon. Built using CSS, HTML and JS.




Learning outcome


  • Use of css variables.
  • Using replace instead of add and remove (classList : adding and removing classes)
  • Using a helper function that automatically applies animation classes to nav-items instead of manually writing rules for each of them 👉🏻 use of template literals 💯


Mentions

Colors: https://colorhunt.co/

Menu icon: https://www.w3schools.com/howto/howto_css_menu_icon.asp