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 trialKeith Carsten
515 Points<a href="index.html"> will not link to Portfolio
Work is correct, keep checking it over and over. Wondering if I'm paying for a site that works as well as code academy.
<!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>About</li>
<li>Contact</li>
</ul>
</nav>
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
</header>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
6 Answers
Kristopher Van Sant
Courses Plus Student 18,830 PointsThe nav should come after the closing link tag which is below the h2 tag
Derrick Mull
18,518 PointsI believe the challenge is asking you to add an anchor element to each list item. You've wrapped you're nav element with the anchor to index.html, and only linked the first list item to it's proper location.
Ethan Moffat
3,223 PointsInstead of index.html do your portfolio page.
Ethan Moffat
3,223 PointsGlad it worked! Have fun learning more!
Keith Carsten
515 PointsThank you very much
Keith Carsten
515 PointsWouldn't be telling me I didn't complete the about instead of the portfolio task?
Why is it asking me to anchor a link to Portfolio that directs to index.html? Or I'm not sure what you're saying.
Derrick Mull
18,518 Pointsindex.html is generally the default file that webpages start at... So, Portfolio linked to it would generally mean Portfolio is the HOME or landing page of the site.
Also, Kristopher is correct that in the challenge the whole NAV should come after the H2
Keith Carsten
515 PointsAlright I think I see where we're going here. Going to give it a try and if I'm successful Best Answers all around.
Keith Carsten
515 PointsA lesson has been learned. Thank you, everyone.
Keith Carsten
515 PointsKeith Carsten
515 PointsWhy did it let me add the nav and ul in the incorrect space?
Keith Carsten
515 PointsKeith Carsten
515 PointsUuuuugh, I'm an idiot. Gettin learned.
Kristopher Van Sant
Courses Plus Student 18,830 PointsKristopher Van Sant
Courses Plus Student 18,830 PointsNoooo! Never call yourself an idiot when it comes to learning new things! It takes time, and it always seems to be the little things that catch us off guard. These are good things to stumble on because it helps you to become more aware of paying attention to the smaller details. Awesome job so far! Keep up the good work :)
Kristopher Van Sant
Courses Plus Student 18,830 PointsKristopher Van Sant
Courses Plus Student 18,830 Points...also I'm not sure why it let it you pass the first couple of tasks with it incorrect, sorry