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 trialBryan uwanaka
368 PointsI have added an unordered list of "portfolio" in my nav element but it the system keeps telling me i havent!.
I have added an unordered list of "portfolio" in my nav element but it the system keeps telling me i havent!.
<!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>Portfolio</ul>
<ul>About</ul>
<ul>Contact</ul>
</nav>
</header>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
2 Answers
ve
5,048 PointsThe task wants you to add an unordered list into the <nav>-Element. Inside this unordered list, add list items with the titles the task says :) What you did is you added three unordered list instead of one <ul> with three list items. Your <nav> should look like this:
<nav>
<ul>
<li>Portfolio</li>
<li>About</li>
<li>Contact</li>
</ul>
</nav>
Maarten van Wijk
16,320 PointsThe challenge states: "Donβt add any list items or links just yet."
just adding
<nav>
<ul></ul>
</nav>
is enough
also, you should use <li> as list items, like
<nav> <!-- NAVigation element -->
<ul> <!-- Unordered List -->
<li>#</li> <!-- List Item -->
<li>#</li> <!-- List Item -->
<li>#</li> <!-- List Item -->
</ul>
</nav>