Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

it’s step 28, each of the a elements that are children of your figure elements should contain an image. well, there are images, everything looks fine, I really don’t know what I’m doing wrong.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="description" content="content">
    <title>Travel Agency</title>
  </head>
  <body>
    <h1>travel destinations</h1>
    <p>travel opportunities</p>
    <h2>Packages</h2>
    <p>various packages</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"></a>
        <figcaption>Colosseo</figcaption>
        <img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="colosseo in Rome"></img>
      </figure>
      <figure>
        <a href="https://www.freecodecamp.org/learn" target="_blank"></a>
        <figcaption>Alps</figcaption>
        <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="the Alps"></img>
      </figure>
      <figure>
        <a href="https://www.freecodecamp.org/learn" target="_blank"></a>
        <figcaption>Ocean</figcaption>
        <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="the ocean"></img>
      </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

but they’re not nested inside the <a> element, it’s empty.

also, the <img> element doesn’t have a closing tag like </img>.

I just figured that out. thank you. it worked.