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 trial

HTML

Challenge Task 2 of 3-- Add three <ul> items; Stage 3 of "Creating HTML Content" will not complete

Task 2 of this challenge asks me to create an unordered list with "Portfolio", "About", and "Contact" inside of the navigation tag under my <header> (I passed the first challenge task by creating the navigation tag and one unordered list item). I keep getting an error message, even though the preview shows an unordered list under my Header on the exercise with those items. Am I missing something here or not understanding the question? Thank you!

I've posted what I used for my code below (I intentionally added * to tags so that they would display):

<*nav> <*ul>Portfolio</*ul> <*ul>About</*ul> <*ul>Contact</*ul> </*nav>

2 Answers

Stone Preston
Stone Preston
42,016 Points

you need to create a unordered list using the ul tag with three list items in li tags inside that:

what you currently have:

<nav>
  <ul>Portfolio</ul>
  <ul>About</ul>
  <ul>Contact</ul>
</nav>"

just makes three unordered lists. you need one unordered list with 3 list items:

<nav>
  <ul>
    <li>Portfolio</li>
    <li>About</li>
    <li>Contact</li>
  </ul>

</nav>"

Oh, Great! Thank you for the help!