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

Which course is best to learning media queries? Mobile first?

I'd like to know which course is best to learn media queries for a beginner. Any help would be much appreciated. Thanks

3 Answers

Hi,

CSS Basics offers a course at the end which covers Media Queries but if you have a Treehouse Pro account give this a try. http://teamtreehouse.com/library/media-queries

I would say the best course to start learning media queries with is the How to Build a Website one, which you probably already took, but I found that the CSS course on responsive layouts helped me a lot to think about media queries before even typing one out in a CSS page. This is one of those things where you really have to plan ahead. If you want to start out designing for smaller devices, then I really encourage taking the responsive layout course for ideas on how to design first for those devices and then modify your layout for larger devices. There are some external website resources that Nick Pettit provides that will further expand on how to go about doing this (like flexbox). I hope this helps. Edit - CSS Basics covers media queries but from what I would call a large device point-of-view. If you want mobile, the responsive layout course is better suited in my view.

Thanks Lachlan and Rachelle I will deffently be checking out both recommendations.