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

cannot set the background color

this is a link to the code I'm having trouble with I cannot set the background color and cannot get my links to the far left side of the screen http://codepen.io/mr_lion/pen/jvrKJ

4 Answers

On body and html tags you have a space between background and color instead of a hyphen.

thank you

For your second question, the browser is adding default styling to the ul element. Add this to your css:

ul {
   padding: 0;
 }

I tried but it didn't work.

Also, remove the width on the li element. Let me know if that fixes it. You also may need to add display: inline-block; to the li selector.

The li Is still in the middle of the ul.

You've got a few syntax errors, such as missing hyphens in property names and missing colons.

Analyze your CSS to find them all.

http://blog.codepen.io/2013/11/11/analyze-html-css-js/