Tell us what’s happening:
it says it must contain an anchor element as its first child.
and each figure element should contain a figcaption and that figcaption should contain some text.Even though I already have,or maybe something really is wrong ,please help me
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Travel Agency Page</title>
<meta
name="description"
content="Explore More of the Wonders of the Earth"
/>
</head>
<body>
<h1>Travel Across the World</h1>
<p>Explore the Hidden places you might find along the Journey.</p>
<h2>Packages</h2>
<p>A place where true ninja's live.</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="From Rome"></img>
</a>
<figcaption>The <em>Colosseo<em> <figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="mountain"></img>
</a>
<figcaption>The beautiful scenery
</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="The Ocean"></img>
</a>
<figcaption>I <em>love<em> the 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/143.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page