Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

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

<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

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,293 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)