Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I think I have done so, I don;t know what to change.
26. Each figure element should contain a figcaption element as its second child.
28. Each of the a elements that are children of your figure elements should contain an image.
31. Each a element should have an href attribute with the value of https://www.freecodecamp.org/learn. Don’t forget the links in the list items.

Your code so far

<!Doctype html>
<html lang="en">
   <head>
    <meta charset="UTF-8">
     <title> Meta Title Travel Agency Page</title>
     <meta name="description" content="Travel location">
 </head>
 <body>

  <h1>Travel Opportunities and destinations</h1>
  <p>There are different travel opportunties</p>
  <h2>Packages</h2>
<p>There are different traveling 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>
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Colosseo here" href="https://www.freecodecamp.org/learn" target="_blank"></img>
<figcaption>Some Text</figcaption>
</figure>

<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"></a>
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="alps here"href="https://www.freecodecamp.org/learn" target="_blank"></img>
<figcaption>Some Text</figcaption>
  </figure>
 
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"></a>
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Sea here"href="https://www.freecodecamp.org/learn" target="_blank"></img>
<figcaption>Some Text</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/137.0.0.0 Safari/537.36 Edg/137.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum :wave:

You can see here figure has the following children:
1.a
2. img
3. figcaption

You can see that figcaption is the 3rd child

to me it looks like the figcaption is the third child

you need to solve this first:

your a elements are empty

Hello, sorry but I have add a photo src already?

Please post your update code so the forum can assist.

Happy coding

it is not inside the a element tho