Design comparison
SolutionDesign
Solution retrospective
The most difficult part of the project was getting my mobile menu to work properly. Can someone look over my code and help me find out why my hamburger menu isn't working when the screen is below 768 pixels?
Open to all forms of constructive criticism. Please let me know where i can improve. Thank you!
Community feedback
- @9CB5Posted over 1 year ago
In your media query, you have the following class:
.navbar{ display: none; }
This code above is the reason why your mobile menu isn't showing. Replacing it to
display: block
should fix it.Hope this helps.
Marked as helpful1
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