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

HTML Build a Simple Website Website Basics Changing Background Colors

style color issues

The tutorial said the color is light blue and I am getting an error message when putting that into the code-what gives?

James Barnett
James Barnett
39,199 Points

It's hard for us to know what's causing the issue you are having if you don't show us your code. For some tips on how to do that, check out the tips for asking questions video located in the right hand sidebar.

3 Answers

Gary Ford
Gary Ford
14,475 Points

try typing lightblue, all one word with no spaces.

Lyle Denman
Lyle Denman
10,625 Points

Gary has it right. CSS should read as follows: body { background: lightblue; }. Note the lack of spaces or single/double quotes around the color.

Chase Lee
Chase Lee
29,275 Points

John Kyne. Could you give us the code that your using.