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

I don't understand my mistake.

I think that I opened and closed the unordered list correctly but it won't pass.

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Lists and Links</title>
  </head>
  <body>
  <ul>
      Cakes
      Pies
      Candy
    </ul> 
  </body>
</html>

3 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Diana,

You're half way there, but every item inside of a list needs to be enclosed in list tags (<li>)... you're just missing those.

:) :dizzy:

Hey Diana,

You almost have all the tags required for the list. You're correct with needing the <ul> and </ul> tags. When you want to add the list item, you need to add <li> before and </li> after for creating the list item for example <li>Cakes</li>.

Hope that helps you out.

Thanks you all for replying :)