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

Irshad Raut
Irshad Raut
4,316 Points

can't figure out what's my mistake in this code challenge

Select the body of the page and add background color 'lightblue'. the challenge task 1 of 6

I typed the following code in style.css:

body { background-color: lightblue; }

It asks me to check it. Can someone help me plz

Hello Irshad!

Have you tried the "background: lightblue;" ?

2 Answers

Irshad Raut
Irshad Raut
4,316 Points

Hello David,

I guess there was a problem with the code challenge window, i tried background and background-color but it would not work. Just before you replied i refreshed the challenge and it worked. A bit weird..

Thanks for the help.

Most important: you understood the challange! :-)

Wade Christensen
Wade Christensen
Treehouse Teacher

No problem. Sorry, it sounds like the code challenge was being a bit buggy. Glad it's all up and running again.