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 trialmegankirkland
663 PointsCan't pass step 3 of Code Challenge
I thought that all the code was correct but keeps telling me that it is wrong. Any help is much appreciated! Thanks!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nick Pettit</title>
</head>
<body>
<header>
<a href="index.html"><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>
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
</header>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
5 Answers
Howard Slatter
8,049 PointsShould the index.html link be right above your H1 tags?
You seem to have links in a link.
Jean Paiva
7,128 PointsYou put the "h1" and "h2" inside the "nav" tag, they must be inside just the "a" tag
megankirkland
663 PointsThanks!
Howard Slatter
8,049 PointsWhat does the error message say?
megankirkland
663 PointsThe nav tag is right after the first link under the header. The challenge won't allow me to put it under the link which I would do personally.
megankirkland
663 PointsThe nav tag is right after the first link under the header. The challenge won't allow me to put it under the link which I would do personally.
Howard Slatter
8,049 PointsYes, my bad, I didn't see it at first, what's the error saying?
megankirkland
663 PointsOh no problem! It is really awkward were they make you put it. It says that " Portfolio must be linked to index . html"
megankirkland
663 Pointsmegankirkland
663 PointsThank you for pointing that out! I hadn't even realized that I did that. I really appreciate your help!