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 trialPhillip moua
Front End Web Development Techdegree Student 679 PointsAm I missing something in creating navigation?? Says <nav> needs to be directly under header.
Not sure if Im missing anything
<!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>
<nav>
<ul>
<li></li>
</ul>
</nav>
</a>
</header>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
2 Answers
Jennifer Nordell
Treehouse TeacherHi there! You're doing great, but I feel like you may have misunderstood part of the instructions. The instructions ask you to make the <nav>
element after the link inside the header. Remember, we make links with the anchor tag or <a>
. So your nav element shouldn't come until after the closing </a>
. On a side note, the challenge also explicitly asks that you not add any list items for Step 1.
Hope this helps, but let me know if you're still stuck!
Phillip moua
Front End Web Development Techdegree Student 679 PointsPhillip moua
Front End Web Development Techdegree Student 679 PointsSo now it's saying Bummer! The Portfolio list item should link to "index.html". Not entirely sure what i Did wrong.
Moderator edited: Markdown added to code to properly render in the forums.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherHi again! This is along the same lines as the problem before. The link ends with the
</a>
tag. Take a good look at your code. Portfolio comes after the link has already ended. Try moving the placement of the</a>
tag. This is also true for your other linksPhillip moua
Front End Web Development Techdegree Student 679 PointsPhillip moua
Front End Web Development Techdegree Student 679 PointsGotta fix my notes, lol