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

Design

Jonny Strange
Jonny Strange
6,412 Points

w3c mobileOK

I'm validating my website using W3C's mobileOK validator, but one of the errors it says I should put the handhold styles in a media query. I'm using the mobile first approach - the default styles with min-width of 320px, then putting other styles in a media query min-width of 480px etc etc.

1 Answer

TJ Egan
TJ Egan
14,420 Points

Think they may just be talking about this:

@media (min-width: 700px), handheld and (orientation: landscape)

--- https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries