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 trialJeffrey Hale
153 PointsWhy can I not see my work when previewing my workspace?
I've just begun the 3rd module and I can no longer preview my work. I've gone through my code line by line for errors. When clicking the preview button, a new page opens, but it is blank. The only remaining element is the title of my page on the browser page tab.
Here is my code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Jeffrey Hale | Designer</title>
</head>
<body>
<header>
<h1>Jeffrey Hale</h1>
<h2>Designer</h2>
</header>
<section>
<p>Gallery will go here.</p>
</section>
<footer>
<p>© 2014 Jeffrey Hale.</p>
</footer>
</body>
</html>
5 Answers
James Ingmire
11,901 PointsIt appears you have not posted any code except the doctype in your question, try show all the code you have.
The page would be blank if this is all on the page :)
Ian Conery
Courses Plus Student 7,308 PointsIf that is exactly how your code is written, then the problem is your "Jeffrey Hale | Designer Jeffrey Hale Designer Gallery will go here. Ā© 2014 Jeffrey Hale." is not nested inside of any tags. For example <h1>your information here</h1>.
James Ingmire
11,901 PointsAs Ian Conery said, you need to nest your text <p>inside a tag</p> for the workspace to render it, if you don't know this yet watch more videos before practicing yet.
Ian Conery
Courses Plus Student 7,308 PointsYou need to escape your tags like so \<h1> so we can see your code
Jeffrey Hale
153 PointsThanks for all of your help. Appreciate the fast response!
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsI fixed the code formatting.
Jeffrey,
Please see this thread for how to post code in the forums: https://teamtreehouse.com/forum/posting-code-to-the-forum