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 CSS Selectors Selectors - Beyond the Basics Attribute Selectors

Why doesn't my code turn the Class selectors' elements red?


My font is not turning red with this command. This is the second video of the CSS Selectors course.

Are you formatting your class as follows?:


Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Anna Burrell from what I can see on your screenshot your code looks fine. It's in the correct file, and the file is saved. First try opening the preview again, and then refresh the browser. If this doesn't work, you may need to clear your browser cache.

1 Answer

Thanks Jennifer! I cleared my cache and that worked. Thank you so much for troubleshooting!!

Norm- thank you for taking a look as well!