Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

It says im missing this part of the requirements, im checking in and i just cant figure out what’s missing. Help Please

  1. Each figure element should contain a figcaption element as its second child.

Your code so far

<!DOCTYPE html>
<html lang="en">

<head>
  <title>Travel Agency Page</title>
  <meta charset="UTF-8">
  <meta name="description"content="Rome travel trips">
</head>

<body>

<h1>Italy</h1>

<p>Get away to Italy now, like right now.</p>

<h2>Packages</h2>

<p> Introducing the 2 different packages available for our customers</p>

<ul>
  <li><a href="https://www.freecodecamp.org/learn">Group Travels</a></li>
  <li><a href="https://www.freecodecamp.org/learn">Private Tours</a></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="The first picture"
  </a>
  <figcaption>Rome</figcaption>
</figure>

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

<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
    <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="The third picture"
  </a>
  <figcaption>Yacht Trip</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/133.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Hi and welcome to the forum!
Check your img tags. Aren’t they missing something?

1 Like

You are wonderful :laughing:
thank you

1 Like