Skip to content

matheus4lves/fcc-15-js-projects_navbar

Repository files navigation

Navbar

Description

In this project a navigation menu, which becomes a sandwich menu on devices with small screens, was created. Then, JS was used to control the menu display.

Takeaway

Altough we can use classList.contains() in combination with classList.add()/classList.remove() to control the display of a Node, there's the classList.toggle() function which can be used to provide the same result.

Screenshots

Menu hidden Menu shown

Credits

The original project can be found at Build 15 JavaScript Projects - Vanilla JavaScript Course

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published