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

HTML

Why use JQuery at all in this situation? Couldn't you get the same effect with a combination of CSS and media queries?

This seems like a convoluted way to get the same effect. Unless I'm misunderstanding the end result, this seems like CSS would do the trick instead of JQuery. Is one better in this case than the other, and why? Thanks,

Can you let us know what you're referring to here?

3 Answers

Could you post a link to the video you're referring to?

Hope this link is what you're looking for http://css-tricks.com/myth-busting-css-animations-vs-javascript/

Hi - I'm looking at the jQuery Basics course, mobile dropdown project (https://teamtreehouse.com/library/jquery-basics/creating-a-mobile-drop-down-menu/preparation).

Thanks,