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 How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

I cant get my back ground to change to orange and i don't know why?

https://w.trhou.se/teyyfd78h4

something funny is going on. My workspace has also been saved!

1 Answer

Christopher van Ruitenbeek
Christopher van Ruitenbeek
13,705 Points

Edit

I found the problem..

The stylesheet you are linking to (on the index.html page) is in the main directory. But you are linking to a stylesheet in the css/ directory.

Move your stylesheet to the right folder and it works.

-- Your workspace always gets saved.

The code you put in looks right.

To change the body element color you use:

body {
  background: orange;

/* or */

background-color: orange;
}