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 trialDerek Horton
2,530 PointsInside navigation element add a list item for "Portfolio", "About", and "Contact"? Done it, wrong! help please!
I'm not sure what it wants. I have added the links in the nav as asked and tried it within the ul within the nav, but it says that I need a list item for "Portfolio" which I have provided. Any advice:
<li>"Portfolio"</li>
<li>"About"</li>
<li>"Contact"</li>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nick Pettit</title>
</head>
<body>
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul></ul>
<li>"Portfolio"</li>
<li>"About"</li>
<li>"Contact"</li>
</nav>
</header>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
3 Answers
Danielle Teychenne
3,793 PointsHi Derek,
your unordered list tag closes before the list items.
Hope that helps!
Danielle
Lucian Melinte
6,853 Points<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nick Pettit</title>
</head>
<body>
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li>Portfolio</li>
<li>About</li>
<li>Contact</li>
</ul>
</nav>
</header>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
Fixed it for you. You have to close the unordered list(ul) after the list items(li), and you don't need the quotation marks around the names in the list.
Derek Horton
2,530 PointsThanks, for your response. You & Danielle rock!
Derek Horton
2,530 PointsDerek Horton
2,530 PointsDanielle,
Thanks, for your response, I've tried it both inside and outside it says it is wrong. But I will try it again and see if it will take. Thanks again!