Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

  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 image28. Each of the a elements that are children of your figure elements should contain an image.
  3. Each of the a elements that are children of your figure elements should contain an image.
  4. Each of the a elements that are children of your figure elements should contain an image.
    < These are the errors I am facing>

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Travel Agency Page</title>
    <meta name="description" content=" Reliable Travel Tour Agency">
  </head>
  <body>
  <h1> London,America,Germany,Sweden</h1>
  <p>  Book your dream trip with Fabian Travel Agency, your trusted travel partner. Explore exotic destinations, enjoy hassle-free planning, and create unforgettable memories with our expert travel services</p>
<h2 >Packages</h2>
<p>Discover amazing travel opportunities with our agency!we offer a wide range of destinations and experiences to suit every taste and budget.</p>

  <ul>
 <a> <li>  Group Travels</a></li>
 <a><li>Private Tours </a></li>
 </ul>
 <ul>
   <a href="https://www.freecodecamp.org/learn"  target="_blank">Group Travels</a>
   <a href="https://www.freecodecamp.org/learn"target="_blank">Private Tours</a>
   
 </ul>
 <h2>Top Itineraries</h2>
 <figure>
   <a href="https://www.freecodecamp.org/learn"  target="_blank">
   <a href="https://www.freecodecamp.org/learn" target="_blank"</a>
   <figcaption>LAND</figcaption>
   <img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg"alt="COLOSSESO">
   
   
 
 
  </figure>
  <figure>
    <a href="https://www.freecodecamp.org/learn" target="_blank" >
       <a href="https://www.freecodecamp.org/learn" target="_blank"</a>
       <figcaption>LAND</figcaption>
      <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"alt="alps">
     
    

 
  </figure>
 <figure> 
   <a href="https://www.freecodecamp.org/learn" target="_blank" >
      <a href="https://www.freecodecamp.org/learn" target="_blank"</a>
       <figcaption>SEA</figcaption>
      <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"alt="sea">
      
       
   
   

 </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 Edg/135.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Please talk about how you are stuck diagnosing and fixing these issues.

I think I have shown me errors that I am facing

Particularly making the figcaption secondchild

You have listed the tests that are failing. Please talk about what you have tired to figure out why those tests are failing and how to fix them.

Just handing someone else your code and a list of failures is depriving yourself of debugging and that’s one of the most important job ready skills.

I am not getting you

Take the first error:

You can show your figure elements to us and indicate each figcaption, showing how it’s the second child.

The goal is to prove that your code fulfills the requirement. This process is called “proving out”. Prove your code does what it should, and in this process you will find the problem.