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

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

Atilla Olgun
Atilla Olgun
3,314 Points

Workspace is Blank when I Preview My Code

Problem: The below code all of a sudden has decided not to show up on Workspace. I do not know why. I only see a complete blank preview.

Question: Where is the problem?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style>

  background {

    background-color: yellow;

  }

   h1 {

   color: purple;

   } 

 <title>QatarBoy</title>

</head> <body> <header> <h1> QatarBoy </h1> <nav> <ul> <a href="blueberry.html"> <li>Desert Fire and Storytelling</li> </a> </ul> </nav> </header> <section> <ul> <li> <a href="img/DohaRide.png" alt=""> <img src="img/DohaRide.png" alt=""> <p>An Expat's Startup Solution to the Problem of Travel</p> </a> </li> </ul> </section> <footer>

<a href="http://facebook.com/awesome.awesome33"><img src="img/facebook.png" alt="Facebook Logo"></a>
<p>&copy; Olgun Enterprises 'Kind'da Makes You Think'</p>

</footer>

</body>

</html>

2 Answers

I don't see a closing style tag

Atilla Olgun
Atilla Olgun
3,314 Points

Thank you. Now I can understand why it is good practice to have someone review your lines of code after hours of coding :P