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.

HTML How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Bee Priola
Bee Priola
3,922 Points

my web page doesn't change at all.. what am I do wrong?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Bee Priola | Web Designer</title> <link rel="stylesheet" href ="css/normalize.css"> <link href="https://fonts.googleapis.com/css?family=Merriweather:700i|Roboto+Condensed" rel="stylesheet"> <link rel="stylesheet" href ="css/main.css">

</head> <body> <header> <a href="index.html" id= "logo"> <h1>Bee Priola</h1> <h2>Web Designer</h2> </a> <nav> <ul> <li><a href="index.html" class="selected">Portfolio</a></li> <li><a href="about.html"> About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id = "wrapper"> <section> <ul id= "gallery"> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Playing with blending models in Photoshop.</p></a> </li> </ul> <li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> <p>Trying to create an 80's style of glows.</p></a> </li> <li> <a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""> <p>Drips create using Photoshop brushes.</p></a> </li> <li> <a href="img/numbers-09.jpg"> <img src="img/numbers-09.jpg" alt=""> <p>Createing shapes using repetition.</p></a> </li> <li> <a href="img/numbers-12.jpg"> <img src="img/numbers-12.jpg" alt=""> <p>Experimentation with color and texture.</p></a> </li> </section> <footer> <a href= "http://twitter.com/saszybee"><img src= "img/twitter-wrap.png" alt="Twitter logo"></a> <a href= "http://facebook.com/phannawadee.priola"><img src="img/facebook-wrap.png" alt = "Facebook logo"></a>

What isn't changing?

1 Answer

You have your closing Unordered List tag (</ul>) in the wrong location. You have it after your first list item (number-01.jpg)

The closing ul tag needs to go above the closing section tag.

Also,

In your code above you are missing the closing tags of:

footer div body html

Bee Priola
Bee Priola
3,922 Points

I'm starting a new project again, my web page still don't work my background color won't show up.

this my only line on CSS. body { background-color: orange; }

and this HTML ( I checked at html validator checker and correct) <!DOCTYPE html>

<html> <head> <meta charset="utf-8"> <title>Bee Priola | Chef/Web Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html"> <h1>Bee Priola</h1> <h2>Chef/Web 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/IMG_3118.jpg"> <img src="img/IMG_3118.jpg" alt=""> <p>Organic Raw Recipes.</p> </a> </li> <li> <a href="img/IMG_1755.jpg"> <img src="img/IMG_1755.jpg" alt=""> <p>Organic Main Course Recipes.</p> </a> </li> <li> <a href="img/IMG_1408a.jpg"> <img src="img/IMG_1408a.jpg" alt=""> <p>Organic Raw Dessert Recipes.</p> </a> </li> <li> <a href="img/IMG_0860.jpg"> <img src="img/IMG_0860.jpg" alt=""> <p>Organic Sweet Recipes.</p> </a> </li> <li> <a href="img/IMG_1466.jpg"> <img src="img/IMG_1466.jpg" alt=""> <p>Homemade Bread Recipes.</p> </a> </li> </ul> </section> </body> <footer> <a href="http://twitter.com/saszybee"><img src="img/twitter-wrap.png" alt="Twitter logo"></a> <a href="http://facebook.com/phannawadeepriola"><img src="img/facebook-wrap.png" alt="Facebook logo"></a> <a href="http://instagram.com/sazybee"><img src="img/instagram.png" alt="Instagram logo"></a>
<p>© 2017 Bee Priola.</p> </footer>

</html>

works for me. make sure your css file is in the correct folder.

index.html should be on the root.

the main.css and normalize.css need to be in a folder named css

Bee Priola
Bee Priola
3,922 Points

yes. my main.css and normalize.css are in the same folder name (CSS). it still don't work. :(