Tell us what’s happening:
I don’t know what my error is, I’ve tried multiple different ways but I can’t get passed:
-
Each figure element should contain a figcaption element as its second nested element.
-
Each of the a elements nested in your figure elements should contain an image.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Visit the best city on the West Coast, San Franciso is the center of art, culture, and diversity">
<title>Travel Agency Page</title>
</head>
<body>
<h1>San Francisco, California</h1>
<p>As the center of West Coasts diverse culture, experience the variety of cuisines, historical sites, and beautiful nature of the most welcoming city in California!</p>
<h2>Packages</h2>
<p>Explore the various neighborhood of SF through food tours, historical sites, nature hikes, or rent a car to take lead of your trip.</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://res.cloudinary.com/sentral/image/upload/ar_1.78,w_1440,q_auto:eco/f_auto/v1711653222/what_to_do_in_san_francisco_2000x1125.jpg" alt="cable cars"><figcaption>see the PL</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://www.civitatis.com/blog/wp-content/uploads/2024/08/que-ver-san-francisco-casas-victorianas.jpg" alt="painting ladies"><figcaption>see the PL</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://ecenglish.com/en/wp-content/uploads/sites/4/2025/01/Golden-Gate-Bridge-2048x1365.jpg" alt="golden gate bridge"><figcaption>see the PL</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/147.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page