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

JavaScript

brandonlind2
brandonlind2
7,823 Points

Anyone know how to create a drop down menu?

How do you create a drop down menu, for example if I hover over a something how would I get another menu to appear?

2 Answers

Tushar Singh
Tushar Singh
Courses Plus Student 8,692 Points

You can join us if you want to, we try to build new stuff every now and then and help each other out.

You can either create a drop down through CSS or javascript, I prefer a CSS only unless you need click functions added to open submenus. There are many ways to create them. I suggest you take a look at the codepen.io and see how other users are creating them.