Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


I am having trouble with the div, and cannot get the background to change orange. Any help?

3 Answers

HI DeAndre

this does not work.

<div> id="wraper"

id is an attribute of the div element and need to be in the opening element bracket. Like this

<div id="wrapper">

Tip: I notice also that you name your css file Main.css. I is a good rule to keep file names lowercase (or camelCase). Next name it main.css. Same goes with images and other files.

Good luck.

I added the >, but it seems to still show in the preview when i run the text editor.

It's not about adding a ">". Look better at my answer.

Share your code if you are still having problems.