Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I have put my figcaption as a second child of the figure element, it still doesn’t want to parse.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Travel Agency Page</title>
  <meta charset="UTF-8"/>
  <meta name="description" content="Discover the world on every continent, book into exclusive hotels and resorts"/>
  
</head>

  <body>
    <h1>Travel Destinations</h1>
    <p>Travel to Africa, Europe, Asia and all other destinations you can think of!</p>
    <h2>Packages</h2>
    <p>We provide deals at Marriott, Sheraton, Jumeirah and other exlusive hotels around the world. Flight & Hotel.Rome, Italy; 8 days/7 nights. Room only. From £1000
The Alps, Italy; 8 days/7 nights.Room only. From £900. Asia, Thailand 8 days/7 nights. Room only. From £1200.</p>
<ul>
  <li> <a>Group Travels</a> </li>
  <li> <a>Private Tours</a> </li> 
</ul>
<h2> Top Itineraries</h2>
<figure>
 <a href="https://www.freecodecamp.org/learn" target="_blank">
 <figcaption>Fig.1 Rome, Italy</figcaption>
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Colloseum at dusk">  
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
  <figcaption>Fig.2 Alps, Italy</figcaption>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Beautiful view of the Alps">
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
  <figcaption>Fig.3 Thai East Coast</figcaption>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="View of Thai ocean side">
</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/146.0.0.0 Safari/537.36 Edg/146.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Hi @FoxBat96,

Each of the anchor elements inside your figure elements should contain an image.

Happy coding!

Thanks dhess, all sorted now. I didn’t encapsulate my images in my anchor elements.

Cheers

WB