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 trialMatthew Holmes
4,325 PointsMy page preview stopped showing anything below my "about" so everything i enter below that isn't showing up
I entered the following code, does anyone see why i lost the items below "about" ? I had my footer showing and then i lost it at some point.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <Title>Matthew Holmes | Designer</Title>
</head> <body> <header> <a href="index.html">
<h1>Matthew Holmes</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>
<img src="img/numbers-01.jpg" alt="">
</li>
</ul>
</section>
<footer>
<p>© 2014 Matthew Holmes.</p>
</footer>
</body> </html>
Elijah Collins
19,457 PointsDiddo to what Navid Mirzaie Milani said you for got to close your anchor tag in the header
2 Answers
Carlos Martinez
10,660 PointsIt' not that you forgot to close the a tag. It seems as though you have the closing tag in the wrong place.
Elijah Collins
19,457 PointsYou also don't have a body tag which is where all the headers and etc go in
Navid Mirzaie Milani
6,274 PointsNavid Mirzaie Milani
6,274 PointsYou're creating a link
<a href="index.html">
but you don't close it ;)<a href="index.html">index</a>
or you can close it like<a href="index.html"/>