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

CSS jQuery Basics (2014) Creating a Mobile Drop Down Menu Perform: Part 3

Where 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?

Lush Sleutsky
Lush Sleutsky
14,044 Points

Media 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!

1 Answer

Right on! Thank you!