Tell us what’s happening:
It wants the figcaption to the the second child of a <figure> and each <a> should have an image. When I look at the code, it’s hitting on the marks to me. I can’t tell what it doesn’t like
Your code so far
<!DOCTYPE html>
<html lang = "en">
<head>
<meta charset = "utf-8">
<title>Travel Agency Page</title>
<meta name="description" content="this is a description">
</head>
<body>
<h1>France</h1>
<p>This is a paragraph about visiting France.</p>
<h2>Packages</h2>
<p>There are various packages for several tiers</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>
<ol>
<li><figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<figcaption>text1</figcaption>
<image src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt ="the sun">
</a>
</figure></li>
<li><figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<figcaption>text2</figcaption>
<image src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt ="the sun">
</a>
</figure></li>
<li><figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><figcaption>text3</figcaption>
<image src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt ="the sun">
</a>
</figure></li>
</ol>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page