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

It keeps telling me Task 1 isn't passing when trying to do task 2. What am I doing wrong?

I've completed task 1 correctly but when trying to add the menu link for task 2 it's not passing. Help please

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

2 Answers

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Hi there! The problem is, I believe, that your code should not have passed Task 1. You put the starting <a> tag in the correct place, but you put the closing </a> tag in the incorrect place. Check your two lines above that one. The </a> should come immediately before the </li>.

Hope this helps! :sparkles:

It helped a lot! Thank you so much.