Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening: i still need help to get through this?

  1. Each figure element should contain a figcaption element as its second child.
  2. Each of the [a] elements that are children of your figure elements should contain an image.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta name="description" content="Explore amazing travel destinations and packages around the world."</meta>
    <meta charset="utf-8">
    <title>Travel With Easy Agency</title>
  </head>
  <body> 
    <h1>Explore Amazing Travel Destinations</h1>
      <p> Discover exciting places and choose from a variety of travel packages designed just for you.</p>
    <h2>Packages</h2>
      <p>We offer a range of travel packages to suit every traveler’s needs.</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</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="1" href="picture"> </img>
      </a>
      <figcaption>Colosseo</figcaption>
    </figure>

    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
      <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="2" href="picture"> </img>
      </a>
      <figcaption>National Park</figcaption>
    </figure>

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

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum @ugo82

meta elements are self-closing so do not have a closing tag.

img elements are self-closing so do not have a closing tag.

Make sure all the anchor elements are closed.

Happy coding

feel free to use like an html validator to find all the issues with your code The W3C Markup Validation Service