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

Remember to including a closing tag after each list item.

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Lists and Links</title>
  </head>
  <body>
  <ul>
    <li>Cakes.html</li<a>
    <a href="https://teamtreehouse.com">treehouse</a>
    <li><a href="cats.html">cats</a>
       <li><a href="dogs.html">dogs</a>
    <li>pies.html</li<a>
     <a href="https://teamtreehouse.com">treehouse</a>
    <li><a href="cats.html">cats</a>
       <li><a href="dogs.html">dogs</a>
     <li>Candy.html</li<a>
    <a href="https://teamtreehouse.com">treehouse</a>
    <li><a href="cats.html">cats</a>
       <li><a href="dogs.html">dogs</a>
     </ul>
  </body>
</html>

1 Answer

Rich Donnellan
MOD
Rich Donnellan
Treehouse Moderator 27,708 Points

Be sure to close each element (e.g. </li>). There are quite a few instances where you failed to do so.

where? am trying but i dont see

please help

Rich Donnellan
Rich Donnellan
Treehouse Moderator 27,708 Points

I see multiple lines with incorrect syntax similar to this:

<li>Cakes.html</li<a>

Be sure that each element has a matching open and close (e.g <li></li>).