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

Steve holcomb
Steve holcomb
1,931 Points

Challenge Task 2 of 2. It literally doesnt show us how to do this step yet on the videos.

At the end of the video he states he is going to show you how to add list items as links. Then the quiz starts and asks you to add list items as links..

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Lists and Links</title>
  </head>
  <body>
  <ul>
    <li><a href="cakes.html">Cakes</a></li>
    <li><a href="pies.html">Pies</a></li>
  <li>Candy</li>
    </ul>
  </body>
</html>

1 Answer

Kieran Barker
Kieran Barker
15,028 Points

You’ve already done it except for the last one!

<ul>
  <li><a href="cakes.html">Cakes</a></li>
  <li><a href="pies.html">Pies</a></li>
  <li><a href="candy.html">Candy</a></li>
</ul>

Also, he didn’t say that he would teach you. He said to do it yourself before you move on to the next video, using the method he posted in the Teacher’s Notes as a reference :)