Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

not sure what I’m doing wrong..?
Tests 26 and 28 are failing and I don’t quite understand them so I’m not too sure how to fix the problem. I can see it (maybe) has something to do with the tags but other than that I’m clueless.
Help would be appreciated, thanks!

Your code so far

<!DOCTYPE html>
  <html lang="en">
    <head>
      <meta charset="UTF-8">
      <meta name="description" content="Looking for a travel agancy? this is where you should look!">
      <title>Travel Agency Page</title>
    </head>
    
    <body>
      <h1>A trip to where-ever</h1>
      <p>a planned trip to take you across the country, with stops in the special cities, the three ceas, and the beautiful lanscapes across the land.</p>
      
      <h2>Packages</h2>
      <p>no matter If you're single, a couple, a family or a group of friends, we have every option for you to have the best trip.</p>
      
      <ul>
        <li><a href="https://www.freecodecamp.org/learn"target="_blank">Group Travels</a></li>
        <li><a href="https://www.freecodecamp.org/learn"target="_blank">Private Tours</a></li>
      </ul>
      
      <h2>Top Itineraries</h2>
      
      <figure>
        <a href="https://www.freecodecamp.org/learn"target="_blank">
        <img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg"alt="photo1"
        </a>
      <figcaption>photo number one</figcaption>
      </figure>
      
      <figure>
        <a href="https://www.freecodecamp.org/learn"target="_blank">
        <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"alt="photo2"
        </a>
      <figcaption>photo number two</figcaption>
      </figure>

      <figure>
        <a href="https://www.freecodecamp.org/learn"target="_blank">
        <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"alt="photo3"
        </a>
      <figcaption>photo number three</figcaption>
      </figure>
    </body>
  </html>
      

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Hi there and welcome to our community!

Notice that the closing anchor tag here is a different colour than the other tags? That’s a handy visual clue that something’s not right. Check your img elements. They’re not properly closed off:

If thing aren’t checking off one first step is to use this tool here:

But sometimes it’s not obvious. I’m always telling students to make sure that when they create a tag to ask is it a void element or does it get a closing tags? We do this before adding any attributes or other text.

In this case here it would be and it is a void element requiring no closing tag like we wouldn’t see … However we are needing an “<” and “>”. You’re missing the “>”.

oh my god totally missed that, thank you so much!

1 Like