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


Zoe Xiao
Zoe Xiao
7,195 Points

Media Query,Responsive, jQuery plugin

If CSS media query can build a responsive webpage, why use the jQuery plugin for responsive?

1 Answer

Chris Malcolm
Chris Malcolm
2,909 Points

its also very useful to know when media changes in javascript depending on your project. For example, maybe you need to tweak how a menu click event works if its an iphone vs. laptop. In jquery/js you can handle changing events, or not using certain functions, etc, depending on media.