HTML HTML Basics Getting Started with HTML Lists and Links Challenge

please assist

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


  </body>
</html>

2 Answers

michael mccaughan
michael mccaughan
13,027 Points

try enclosing your list item inside of an anchor tag. ex, <li <a href= "cakes.html> cakes </a></li>

immad Ud din
immad Ud din
6,764 Points

Please make your code more readable by indentarion.