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 trialKiran Kumar
248 Pointsinside the navigation element create three list items with words,"portfolio","about","contact".don't add links yet.
inside the navigation element create three list items with words,"portfolio","about","contact".don't add links yet.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>kiran kumar</title>
</head>
<body>
<header>
<a href="index.html">
<h1>kiran kumar</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="index.html">About</a></li>
<li><a href="index.html">contact</a></li>
</ul>
</nav>
</header>
<section>
<p>Gallery will go here.</p>
</section>
<footer>
<p>© 2014 kiran kumar.</p>
</footer>
</body>
</html>
2 Answers
Daniel McNeil
Full Stack JavaScript Techdegree Graduate 26,471 PointsThe challenge is:
"inside the navigation element create three list items with words,"portfolio","about","contact".don't add links yet."
So you want to create the list items without anchor tags:
<nav>
<ul>
<li>Portfolio</li>
<li>About</li>
<li>Contact</li>
</ul>
</nav>
You'll add the anchor tags in the 3rd step of the challenge. Also make sure you use a capitol C in Contact. Code challenges are picky about that sometimes.
Vipin Singh
15,268 PointsYou modify your link this way thats work
<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>