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

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.