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
spalak
12,151 PointsWhy 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,
3 Answers
Michael Hulet
47,913 PointsCould you post a link to the video you're referring to?
Sreng Hong
15,083 PointsHope this link is what you're looking for http://css-tricks.com/myth-busting-css-animations-vs-javascript/
spalak
12,151 PointsHi - 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,
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsCan you let us know what you're referring to here?