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 HTML Basics Getting Started with HTML Lists and Links Challenge

Theodore Steinhilber
Theodore Steinhilber
20,187 Points

Why

I am using <ul> and </ul> for the unordered lists and it's still giving me an error and not letting me proceed

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Lists and Links</title>
  </head>
  <body>

    <ul>1Cakes </ul>
    <ul>2Pies </ul>
    <ul>3Candy </ul>

  </body>
</html>

1 Answer

Steven Parker
Steven Parker
229,786 Points

The "ul" tags define the whole list and there should be only one pair of them, surrounding the entire list.

Individual items inside the list are "list items" and will have "li" tags.

Also, the instructions did not ask for numbers to be added to the names. Doing things other than in the instructions can sometimes confuse the validation mechanism.