Tell us what’s happening:
- says my figcaption needs to be the second child
- Each of the anchor elements that are children of your figure elements should contain an image
Your code so far
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta
name="description"
content="Travel Agency"
/>
<title>Travel Agency Page</title>
</head>
<body>
<h1>Travel Destinations</h1>
<p>We offer many variety of popular destinations such as :</p>
<ol>
<li>Miami, FL</li>
<li>Las Vegas, NV</li>
<li>los Angeles, Ca</li>
</ol>
</body>
<h2>Packages</h2>
<p>For inquiries on deals, hotel and rentals, please take a look at our generous package deals.</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"><img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg"alt="family riding boat"/a>
<figcaption>Roman Colloseum</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn"target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"alt="adventure"/a>
<figcaption>Adventure Hiking</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn"target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"alt="the sea"/a>
<figcaption>Ocean Adventures</figcaption>
</figure>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page