HTML HTML Basics Getting Started with HTML Lists and Links Challenge

my code is not passing dont know what am doing wrong

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 <a href="candy.html">Candy</a> </li>
  </ul>
  </body>
</html>

3 Answers

Dimitar Dimitrov
Dimitar Dimitrov
10,298 Points

In the second list items you got a comma after pies.html that should not be there

<li><a href="pies.html,">Pies</a> </li> 
Dimitar Dimitrov
Dimitar Dimitrov
10,298 Points

This is because u haven't close the opening <li> tag before the <a> tag

<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>

still dosnt work