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 trialJack Kenyon
3,344 PointsCreate basic media query
I'm doing something wrong, not sure what, here's my code:
@media screen and (max-width:768px) { .body { background: #FF6347; } }
Any help would be great, thanks
1 Answer
Adam Moore
21,956 PointsHey Jack. You'll have to be more specific.
The only thing that might stand out to me at this moment is that you are calling the class "body" on an element, which could be somewhat confusing, as you would already have an element with the selector of "body".