Tell us what’s happening:
I’m getting the error that each anchor element should contain an image but when i do that it claims that the figcaption needs to be the second element
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Travel Agency Page</title>
<meta name="description" content="The Travel Agency page of wonderful Wytheville, there's only one, thank god">
</head>
<body>
<h1> Come Visit Wytheville, Va!</h1>
<p>There's only one Wytheville and the world should be thankful every day. Come see meth addicts, backwards hillbillies and an amount of elderly people that is frankly, concerning!</p>
<h2>Packages</h2>
<p> We have multiple travel packages for every type of guest!</p>
<ul>
<li><a href="www.google.com"> Group Travels</a></li>
<li><a href="www.google.com">Private Tours</a></li>
</ul>
<h2>Top Itineraries</h2>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
</a>
<figcaption>The Hot air Baloon water tower!</figcaption>
<img src="https://roadtrippers.com/wp-content/uploads/2022/06/wytheville-4-scaled.jpg" alt="our water tower painted like a giant hot air baloon">
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
</a>
<figcaption>Main Street</figcaption>
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Main street">
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
</a>
<figcaption>Festival!</figcaption>
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Festival">
</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/148.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page