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 trialnatalia calzado
Courses Plus Student 166 Pointswhy is workspace not displaying my work in the preview tab properly?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>natalia calzado | Fashion Designer</title>
</head>
<body>
<header>
<a href="index.html">
<h1>Natalia Calzado</h1>
<h2>Fashion Designer</h2>
</a>
<nav>
<ul>
<li>Portfolio</li>
<li>About</li>
<li>Contact</li>
</ul>
</nav>
</header>
<section>
<p>Gallery will go here.</p>
</section>
<footer>
<p>© 2015 Natalia Calzado.</p>
</footer>
</body>
</html>
Rich Bagley
25,869 PointsHi again Natalia,
How are you expecting the page to look? It doesn't have any styles attached to it but the HTML appears to work fine for me.
-RIch
natalia calzado
Courses Plus Student 166 PointsThank You for the help Rich Bagley. What im trying to do is view it in regular html.All that I see is just my name in blue letters, it just not showing all the other elements I am adding for some reason.
1 Answer
Rich Bagley
25,869 PointsHi Natalia,
It sounds as though your HTML could be caching (keeping an older copy of your page).
One quick test would be to either open the same page in a different browser or trying it in something like CodePen (for this you'd simply copy everything within the body
tags over to the HTML window and it should display in the preview below).
You should see a white page with no styling but you should at least see all the text you've added.
Also, I know it may seem obvious but it may be worth double checking the file is saving your changes just in case. :)
Hope that helps.
-Rich
natalia calzado
Courses Plus Student 166 PointsThank You again I saw it in CodePen pretty awesome. I'm new at all of this so that was a bit frustrating.
Rich Bagley
25,869 PointsNo problem, the more you use it the easier it'll come to you :)
-Rich
natalia calzado
Courses Plus Student 166 Pointsthanks, just have to keep on trying.
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsHi Natalia,
I've just updated the formatting of your code in the post so it's easier to read.
I wrapped it within 3 backticks (```) on the line above and below.
Should you need to do this in future, this How-to Guide should help :)
-Rich