Tell us what’s happening:
Travel Agency Page
- Each figure element should contain a figcaption element as its second child.
I can’t for the life of me figure this out and I feel like I have everything needed - any help would be highly appreciated. 31 and 32 check either, it also says that I don’t have a body element within my html element.
Your code so far
<!DOCTYPE html>
<html lang="en">
<body>
<head>
<meta charset="utf-8">
<meta name="description" content="Find the travel destination of your dreams here at Go Travel!">
<title>Travel Agency Page</title>
</head>
<h1>2025 Summer Destination Bucket List</h1>
<p>Travel Opportunities.</p>
<h2>Packages</h2>
<p>Our various packages</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">
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Rome">
<figcaption>See the Collusseum!</figcaption>
</figure>
</a>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Enjoy the mountains">
<figcaption>Enjoy the Alps</figcaption>
</figure>
</a>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="The Ocean">
<figcaption>Set Sail or Relax by the Beach</figcaption>
</figure>
</a>
</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 OPR/118.0.0.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page