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 trialabdiaziz ali
283 PointsInside the navigation element, create three list items with the words, “Portfolio”, “About”, and “Contact”. Don’t add li
i did like this... i didnt include nav and ul because there already there
<nav>
<ul>
<li>portfolio</>
<li>about</>
<li>contacts</>
</ul>
</nav>
any suggestion why there is an error
2 Answers
Riley Hilliard
Courses Plus Student 17,771 Pointsyou forgot the closing li tags for your li elements. They should look like this: <li></li>
Lisa Tan
4,673 PointsA navigation element is essentially an unordered list, so you will want to use the unordered list element, which you will want to nest inside of the nav element. Have a closer look at how you have closed your list item elements too.
Have a go again, and if you're still stuck, please post your code here so we can help you :) You can refer to the Markdown Cheatsheet at the bottom of the page for instruction on how to post code.
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherEdited for markdown.