Welcome to the Treehouse Community
Looking to learn something new?
Site is claiming that I made a mistake on the second link. I have no idea what is wrong.
<li><a href="cakes.html">Cakes</li> <li><a href="pies.html">Pies</li> <li><a href="candy.html">Candy</li>
Claims that the pies input is incorrect. It would be great if i could get the correct code presented instead of nothing.
<!DOCTYPE html> <html> <head> <title>Lists and Links</title> </head> <body> <ul> <li><a href="cakes.html">Cakes</li> <li><a href="pies.html">Pies</li> <li><a href="candy.html">Candy</li> </ul> </body> </html>
Jason AndersTreehouse Moderator 145,623 Points
If you look at the code when you have it in the challenge, you will notice red squiggly lines under the </li> tags for all three lines. This means there is a syntax error in all three lines. The challenge is only pointing out the first one, because once that error is reached the rendering stops.
Here, on all three lines, you haven't closed the anchor tags. You have opening and closing <li> tags, but only opening <a> tags. Each one will need to be closed, so the line will be like
Hope that helps :)