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

phillip turnbow
241 PointsNothing in my html code is working help?
When I preview the page it's, well see for yourself. Here is the code.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Phill | Designer</title>
</head>
<body>
<header>
<a href="index.html">
<h1>Phill</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<section>
<ul>
<li>
<a> href="img/numbers.01.jpg"
<img src="img/numberes.01.jpg" alt="">
<p>Expermentation with color and texture</p>
</a>
</li>
<li>
<a> href="img/numbers.02.jpg"
<img src="img/numberes.01.jpg" alt="">
<p>Expermentation with color and texture</p>
</a>
</li>
<li>
<a> href="img/numbers.06.jpg"
<img src="img/numberes.01.jpg" alt="">
<p>Expermentation with color and texture</p>
</a>
</li>
<li>
<a> href="img/numbers.09.jpg"
<img src="img/numberes.01.jpg" alt="">
<p>Expermentation with color and texture</p>
</a>
</li>
<li>
<a> href="img/numbers.012.jpg"
<img src="img/numberes.01.jpg" alt="">
<p>Expermentation with color and texture</p>
</a>
</li>
</ul>
</section>
<Footer>
<p>© 2014 Phill.</p>
</Footer>
</body>
</html>

phillip turnbow
241 PointsMy preview isn't working. that's it.

phillip turnbow
241 PointsThanks code.am. Code am thanks for being at least the best you can by not answering this question at all. Not only is the question a very clear question, you have a much better understanding of the problem than I do, that's why the question states " Nothing in my html code is working help? When I preview the page it's, well see for yourself. Here is the code." Not only did I give you the code to observe you failed to answer the question for any line of the question posted or code line, which is not numbered in this question because of copy and paste provisions. When posting to a forum please do not answer a question with a question. Also it's best not to try to answer a question when you don't know the answer, it make you look like you don't know the answer. Now for everyone whom attempted to answer the question It was something that Treehouse had to adjust for my profile and thanks for the effort. Code am you deserve a negative five for your post. Learn how to answer a post. Your action is yours don't be a bot for someone allowing them to control your response or action be proactive give the correct answer or advice.
3 Answers

Melissa Wheeler
6,306 PointsYour missing the very first step
After your doc type tag you should have an opening and closing html tag and then all your code should go in between your opening and closing html tag.
<html>
<body>
<body/>
<html/> this should be at the very end, enclosing all you code.

phillip turnbow
241 PointsThanks Melissa. There's nothing wrong with my code. Thanks for the help your code should look like this <html> <head></head> </html> of course include the doc type before anything on your document.

Lawrence Schoch
8,174 PointsIs your code encapsulated by an <html></html> element? I don't see one. It should open right after <!DOCTYPE html>

Lawrence Schoch
8,174 PointsCorrection: is your code encapsulated by an html element? I.e.: <html></html>
Christian Andersson
8,712 PointsChristian Andersson
8,712 PointsCan you elaborate on your problem?