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!

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 jQuery Basics (2014) Creating a Mobile Drop Down Menu Perform: Part 3

Why doesn't the original menu go away when screen gets smaller?

Here is my workspace: https://w.trhou.se/933ctldtip

I feel like I am making a simple mistake, but I don't know why the original menu is not going away when the screen gets narrow. I believe I added the css correctly.

The select shows up when narrow, but the original menu does not go away.

Can you help me?

1 Answer

Thanks for responding. I realize that the issue was the comments in the .css file. When copying over from the app.js file, we brought over the comments using the // format.

CSS requires /* */ styled comments.