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

Micheal Jones
Micheal Jones
957 Points

what Im I doing 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 href=>"menu.html"<a></li>
        </ul>
  </body>
</html>

Alexander Ditto has the answer to what the error is here.

As a side note, I would practice coding a little more so you can iron out the kinks on noticing where you have made the mistakes. The good thing her is that you are realizing errors in the code early in your training. So yeah, like my elementary teacher always said," Practice makes perfect."

3 Answers

Alexander Ditto
Alexander Ditto
14,329 Points

<li><a href=>"menu.html"<a></li>

Should be

<li><a href="menu.html">Menu</a></li>

It looks like you just mistyped the last anchor tag in your unorder list

KRIS NIKOLAISEN
KRIS NIKOLAISEN
54,332 Points

Use the list item above the one you edit for the challenge as an example. I can see three differences with what you have done.

Alan Ayoub
Alan Ayoub
40,289 Points

Two things:

You did not close the anchor tag correctly. Follow the examples in the first two list items. Second, you deleted the "Menu" text.

After keeping both of those items in mind, I would reset the challenge and try them again (since you deleted the menu text)