Design comparison
Solution retrospective
Hey i have just completed this challenge please give me your feedback
Community feedback
- @Nick331102Posted about 3 years ago
how do you add a dark overlay to the body when the hamburger menu is clicked?
Marked as helpful0 - @nasheePosted about 3 years ago
i created div element with "hide" class . i used z-position with higher number so that can be displayed above the header element. the property and the value of the hide class is "display : none" that is the default value. and the i used java script to add and other class called show which can has "display: block". and when the button is clicked , javascript add "show" class and " remove " hide class. for more information please take a look at this link https://www.w3schools.com/howto/howto_js_toggle_hide_show.asp https://stackoverflow.com/questions/21070101/show-hide-div-using-javascript
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord