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 How to Make a Website Creating HTML Content Create Navigation with Lists

List Item About Entered But Getting Error

I am adding the list item for "About, <ul><li>About</li></ul>, but the error message is telling I haven't.

Ah, sorry, I thought I'd added it.

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

3 Answers

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

Hi, A.J. You only need one ul tag to wrap all 3 li elements.

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

Oh for pete's sake! Thanks! That's what I get for doing this at 4:30 in the morning. Cheers!