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

McKinley Butler
McKinley Butler
1,118 Points

How do I do this?

Thank you in advance. It keeps kicking it back and I don't know whats wrong.

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Lists and Links</title>
  </head>
  <body>

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



  </body>
</html>

2 Answers

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

Hey there McKinley Butler ! 👋

There are two issues here that are giving you problems.

  1. Since we're setting the href value to an HTML file within the project, and not an external site's URL, we don't need the https:// in there. These challenges are pretty specific and picky so adding extra things that it's not specifically asking for can usually cause issues too, just so you know for future ones.

  2. The closing angle bracket > should be moved outside of the href values' string and to the end of it, and outside the quotation mark. For example on one of them...

<a href='cakes.html'></a></li>
McKinley Butler
McKinley Butler
1,118 Points

Thank you Travis Alstrand!