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

This will not execute , why

@media screen and(max-width: 768px) { body{background:#FF6347; color:FFF;}

}

Space after "and"

3 Answers

I think the problem is somewhere else, i've just copy paste your code in my web and it worked perfectly

@media screen and (max-width: 768px) Add a space after "and"

To me it looks like you are missing a # symbol before your color property's value. Should be color: #FFF;