HTML Introduction to HTML and CSS Adding a New Web Page Test: Link It Up Challenge

"You need to set the 'href' attribute of the last <a> element to "menu.html"." I've done this and still get error msg.

I've set the herf attribute to the last <a> element, but I'm still getting an error message. Am I doing something wrong here?

index.html
<!doctype html> 
<html>
  <head>
    <title>Al's Restaurant</title>
  </head>
  <body>
        <ul class="nav">
          <li><a href="#">Home</a></li>
          <li><a href="food-gallery.html">Food Gallery</a></li>
          <li><a herf="menu.html">Menu</a></li>
        </ul>
  </body>
</html>

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 143,923 Points

Hi Debonair,

You just have a small typo. You have herf instead of href. Just fix that up and it all passes. :thumbsup:

:) :dizzy: