Tell us what’s happening:
Please help I keep getting the following error
Each figure element should contain a figcaption element as its secon child
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Travel Agency Page</title>
<meta name="description" content="Travel Agency Page">
</head>
<body>
<h1>Florida Keys</h1>
<p>Come vacation to the Flordia Keys</p>
<h2>Packages</h2>
<p>Check out our amazing packages</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="Colosseum"></a>
<figcaption>This is a picture of the Colosseum.</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Image of the alps"></a>
<figcaption>Check out the Alps</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Picture of the sea"</a>
<figcaption>Beautful blue Sea</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/136.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page