Tell us what’s happening:
An error about the" a elements that are children of your figure elements should contain an image." I’ve tried all solutions I know please help me know what the problem is.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta
name="description"
content="places to visit"
/>
<title>Travel Agency Page</title>
</head>
<body>
<h1>TRAVEL DESTINATIONS</h1>
<p>Get a chance to travel abroad and see the beauty of earth.</p>
<h2>Packages</h2>
<p>3-day visit to Egypt for Kshs100,000.</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>A picture of colosseo</figcaption>
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="image of the colosseum in Rome">
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">See the alps</a>
<figcaption>A picture of the alps</figcaption>
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="image of the alps in Europe" >
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">See the Mediterranean sea</a>
<figcaption>A picture of the Mediterranean Sea</figcaption>
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="image of the 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/144.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page