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 keep getting message: Task 1 is no longer passing. I finished task 1 but when it sends me to task 2 I get this mess

when I finish task 2 it says task 1 no longer passing

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Lists and Links</title>
  </head>
  <body>
  <ul>
    <a href="https//www.Cakes.html</a>
    <a href="https//www.pies.html</a>
    <a href="https//www.candy.html</a>
    </ul>

  </body>
</html>
  1. The <li> tags are missing.
  2. The opening <a> tag are not closed properly. <ul> <li><a href="/cakes.html</a>Cakes</li> <li><a href="/pies.html>Pies</a></li> <li><a href="/candy.html>Candy</a></li> </ul>

1 Answer

Steven Parker
Steven Parker
231,248 Points

Your start tags are missing some symbols.

Both start tags and end tags should be enclosed in angles ("<>"), but your start tags don't have the final angle on them (">"). Also, the href strings seem to be missing the ending quote mark (").

Also, anything inside a list (ul or ol) must be inside a list item (li). You must have had those to pass task 1, right? So don't remove them, just put the links inside them.

And it also looks like you removed the item names, which should now be between the start and end link (a) tags.

Finally, check your href strings. These links point to local files, not websites.