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 Foundations Selectors Type, Class, and ID Selectors

Having trouble with some of the code challenges accepting answers

Im trying to submit the first code challenge of selecting the body and making it lightblue. I previewed my work and the body did change light blue, but I am unable to pass this section. I had a similar experience in the HTMLvtable code challenge on question 2 asking for a table header. I had to skip the challenge and complete the rest of the section. Do you have any tips or best practices to for the code challenges? My CSS code is below.

'''CSS body { color:lightblue; } '''

5 Answers

Ireneusz Kopta
Ireneusz Kopta
6,212 Points

Hi I think u want to change the background property. The color selector changes font not the background so in your css stylesheet write as stated below:

"" body { background: lightblue; }

Ireneusz Kopta
Ireneusz Kopta
6,212 Points

Hi I think u want to change the background property. The color selector changes font not the background so in your css stylesheet write as stated below:

"" body { background: lightblue; }

Ireneusz Kopta
Ireneusz Kopta
6,212 Points

Hi I think u want to change the background property. The color selector changes font not the background so in your css stylesheet write as stated below:

"" body { background: lightblue; }

Ireneusz Kopta
Ireneusz Kopta
6,212 Points

Hi I think u want to change the background property. The color selector changes font not the background so in your css stylesheet write as stated below:

"" body { background: lightblue; }

Ireneusz Kopta
Ireneusz Kopta
6,212 Points

Hi I think u want to change the background property. The color selector changes font not the background so in your css stylesheet write as stated below:

"" body { background: lightblue; }