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

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;



</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>




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