Tell us what’s happening:
- Each figcaption should contain some text.
- Each of the a elements that are children of your figure elements should contain an image.
It is stating that i have failed these 2 but i am not understanding why
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="travel-agency-page">
<title>Travel Agency Page</title>
</head>
<body>
<h1>Traveling to Mexico</h1>
<p>Head across the border and discover the magic of a vacation to Mexico. With cuisine as colorful as the culture and scenery as mesmerizing as the ancient Mayan ruins, Mexico offers something for every traveler.</p>
<h2>Packages</h2>
<p>Here you will see the different types of packages for when you come to visit this beautiful country of mexico!</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"></a>
<figcaption><img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Cool Colosseo">Not in Mexico but cool picture<figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"></a>
<figcaption><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Mountains">Beautiful Views</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"></a>
<figcaption><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="clearest waters">Clearest Waters</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/141.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page