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 trialJennelle Barajas
5,317 PointsWhere can I learn more about media queries for jQuery?
I have googled media query for jQuery and everything that comes up is a bit advanced for me.
Can anyone explain what the @media function does. Is it a reference to the css file in the project?
1 Answer
Jennelle Barajas
5,317 PointsRight on! Thank you!
Lush Sleutsky
14,044 PointsLush Sleutsky
14,044 PointsMedia queries have nothing to do with jQuery. Media queries are for responsive design, and are written in a .css stylesheet. It lets you write css based on the screen size of the device you are writing for (phones, tablets, desktops, etc). Googling media queries for jQuery will likely get you nowhere. Good luck!