Tell us what’s happening:
It’s saying that I need to put figcaption as a second nested element in and I tried many ways. Its says that it is in the element a but it’s not in it, how to do this?
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="non-empty"
</head>
<title>Best Destinations Travel Agency</title>
<body>
<h1>Travel Destinations here</h1>
<p>Ready to explore the best destinations in the world?</p>
<h2>Packages</h2>
<p>Various packages here</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="blanket"><img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Colosseum"</a>
<figcaption>Colosseum</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="blanket"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Alps"></a>
<figcaption>Alpes</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="blanket"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"></a>
<figcaption>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/154.0.0.0 Safari/537.36 Edg/154.0.0.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page