
Design comparison
SolutionDesign
Please log in to post a comment
Log in with GitHubCommunity feedback
- @signaloninternet
hey when we click on menu in mobile version, it opens that dropdown but you can make the dropdown disappear. To make the dropdown menu disappear when someone clicks anywhere outside of it, you can add an event listener to the document object that checks if the click occurred outside the dropdown.
Join 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