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 triallee F
1,564 Pointswhy is this not working
pissing me right off I know its right
<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>
fix plzzz
4 Answers
Vittorio Somaschini
33,371 PointsLee.
where are you putting the code?
<!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><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>
</header>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
this one works, check it agains this code.
Vittorio Somaschini
33,371 PointsHello Lee.
Can we see your code please?
Please paste it here
lee F
1,564 Points <ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="Contact">Contact</a></li>
</ul>
Gurpeer Duhra
4,205 PointsHello, sir. =)
- Also you do not need to always have < . /li .> all the time.
- You were also missing the .html on you're contact area.
-
Other then that, I don't see anything else.
<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>
lee F
1,564 PointsNot it does not work it says portfolio needs to go to index.html still..
Glitch for sure
Michael Jurgensen
8,341 PointsHi Lee,
You need the list tags inside the anchor tags like this:
<nav>
<ul>
<a href = "index.html">
<li>Portfolio</li>
</a>
<a href = "about.html">
<li>About</li>
</a>
<a href = "contact.html">
<li>Contact</li>
</a>
</ul>
</nav>
lee F
1,564 Pointslee F
1,564 PointsI missed the first closing a tag think it messed it up!