Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Hello, i’m having trouble with my h18 to h34. This is in regards to question 26 of the test: “each figure should contain figcaption as the second child”. How can rectify that?

Your code so far

<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="utf-8">
  <title>Travel Agency Page</title>
    <meta name="Description" content="A guide to finding a serene travel experience!">
 </head>
 <body>
  <h1>Travel with style!</h1>
  <p>Enjoy uninterrupted vacation among the most renowned tourists destinations. Easy,fast and reliable.</p>
  <h2>Packages</h2>
  <p>Our packages are pocket friendly, ranging from Gold, Silver and Bronze.</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="beach3.jpg" alt="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg">
      </a>
      <figcaption>Sandy Beaches</figcaption>
    </figure>
    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
      <img src="gamereserve.jpg" alt="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg">
      </a>
      <figcaption>Game Reserves</figcaption>
    </figure>
    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
      <img src="mountains.jpg" alt="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg">
      <figcaption>Mountains</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/136.0.0.0 Safari/537.36 Edg/136.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

1 Like

where is your closing tag for the anchor elment </a> I dont see it, and it needs to be there before the figcaption because right now your anchor element is not closed

1 Like

welcome @darsonjnr to the fcc forum
there is no closing tag for your anchor tag

1 Like

thank you so much! it worked

1 Like