Tell us what’s happening:
Hey everyone I’m being told “Each figure element should contain a figcaption element as its second nested element.” however I can’t quite see the issue with what I have coded
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description"
content="Discover amazing travel deals for the best prices"/>
<title> Travel Agency Page </title>
</head>
<body>
<h1>Egypt</h2>
<p>Join us for a jetsetting adventure to the oldest settlements of humanity, from the pyramids to your luxury 5* resort, you'll be living it up like the Pharaohs!</p>
<h2>Packages</h2>
<p>Just for you we have 2 avalible packackes today</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">
<figcaption>This is not in egypt</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn"target=_blank>
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg">
<figcaption>Also not egypt</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn"target=_blank>
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg">
<figcaption>Also not egypt</figcaption>
</figure>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page