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 trialWill Howard
5,275 PointsWhen I hit preview after saving, the html tags are still visible either side of my name on the preview screen. Any idea?
The tags don't disappear on the preview screen like they should. Not sure what I am doing wrong :s
Christine Rose
6,745 PointsYes. Please paste your code. If I had to guess, it sounds like a tag or quotation isn't closed properly.
Will Howard
5,275 PointsThe code was...
<h1>My name</h1>
When I click preview, that's what I see. Not 'My Name'. I saved it and refreshed the preview screen too. It worked after I added the CSS part after to change the colour.
1 Answer
Daniel Botta
17,956 PointsMake sure you have the page setup correctly. Basic example:
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<!--Content goes here-->
</body>
</html>
Also, double check all of your syntax. Make sure you are not missing the / closing tag
</html> </body> </title>
in any of your elements. If you post your code though, someone should probably able to catch whats going on.
Mitchell Springer
2,576 PointsMitchell Springer
2,576 PointsPaste in your html code so we can check it out.