Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Diego Lucero
10,588 PointsMobile Menu help
Hey guys, I have a website that I am working to help build, and we are currently working on the mobile nav.
I have run into a roadblock as to how I would be able to keep the dropdown open after a click, and also subsequently close the dropdown on another click with just CSS.
I have done a ton of research and it seems that there are many different solutions to this problem, however, none that I have come across have a solution that solves this specific instance.
Do any of you more experienced Treehousers have any idea on how I can do this?
Here is a link to the codepen
1 Answer
Daniel Lee
7,809 Pointsjquery + javascript