Design comparison
SolutionDesign
Solution retrospective
HI EVERYONE! This one was quite challenges for me. I still strugle with drop down menu. I got no clue how to check and remove class="showMenu" when one drop is open to switch between them. So PLS PLS give me advice how to do this. Thanks to all of you!
Community feedback
- @Issa-AhmedPosted about 2 years ago
Hello OLAF, I went to the website and I indeed did see the dropdown was a bit out of sync. I have a suggestion:
- Create a .hidden class in your css with display:none and add it to the .navigation__drop-list class in your html
- In the js file, add event handler to the dropdown variable you defined and toggle the hidden class when .you click on the features link. Then on the company link, check if the features dropdown has hidden class, if not, add to it. I hope this can help you a bit
0
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