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

Holly Holliday
Holly Holliday
1,563 Points

I know I'm missing something: My code isn't making the page orange

Here is the code. You should see where my second stylesheet is highlighted - meaning it's wrong. on the main page I have written- body { background-color: orange; }

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <TITLE> Holly Holliday | Designer</TITLE> <link rel="stylesheet" href="css/normalize.css" <link rel="stylesheet" href="css/main.css.css" </head> <body> <header> <a href="index.html"> <h1>Holly Holliday</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="Contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <a href="img/numbers-01.jpg"></a> <img src="img/numbers-01.jpg" alt=""> <p>Experimenting with color and texture.</p> </li> <li> <a href="img/numbers-02.jpg"></a> <img src="img/numbers-02.jpg" alt=""> <p>Playing with blenidng modes in Photoshop.</p> </li> <li> <a href="img/numbers-06.jpg"></a> <img src="img/numbers-06.jpg" alt=""> <p>Trying to create an 80's style of glows.</p> </li> <li> <a href="img/numbers-09.jpg"></a> <img src="img/numbers-09.jpg" alt=""> <p>Drips created using PHotoshop brushes.</p> </li><li> <a href="img/numbers-12.jpg"></a> <img src="img/numbers-12.jpg" alt=""> <p>Creating shapes using repetition.</p> </li> </ul> </section> <footer> <a href="http://twitter.com/hholliday"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a> <a href="http://facebook.com/hholliday"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a> <p>Ā© 2015 Holly Holliday.</p> </footer> </body> </html>

1 Answer

Kevin VanderWulp
Kevin VanderWulp
5,180 Points

You have a few mistakes in your links to your css sheets.

Your code:

<link rel="stylesheet" href="css/normalize.css"
<link rel="stylesheet" href="css/main.css.css"

Should be:

<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">