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

What am I doing wrong?

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Lists and Links</title>
  </head>
  <body>
  <ul>
  <li>List item 1</li>
  <li>List item 2</li>
</ul>
<a href='cakes.html'>Cakes</a> 
  <a href='pies.html'>Pies</a> 
  <a href='candy.html'>Candy</a>
    <ul>
  <li>List item 1</li>
  <li>List item 2</li>
</ul>
  </body>
</html>

2 Answers

Steven Parker
Steven Parker
231,198 Points

It looks like you're working on task 2, but task 1 said "Convert the text inside the <body> tags into an unordered list." At that point, the body contents were just the three words "Cakes", "Pies", and "Candy". So at the end of task 1 you should have had just one new unordered list, with each of those words tagged as a list item inside it.

Then for task 2 you will only convert those three list items into links. You won't add any more lists (there seem to be two here now, one before and one after what should be the real one).

makes sense, I guess I was looking at the whole page.