Tell us what’s happening:
I am stuck on Step 31 where it keeps telling me that each a element should have an href attribute even though I have clearly done that. I have also done the target links as well. I don’t see what the issue is.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Contains brief descriptions of various cities throughout the world.">
<title>Travel Agency Page</title>
</head>
<body>
<h1>Discover Italy</h1>
<p>Choose among our various packages in exploring Italy. You will discover famous cuisine, architecture, culture, and more.</p>
<h2>Packages</h2>
<p>We offer an extensive range of Group Tours and Private Tours to fit everyone's needs.</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://freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="A gigantic stone colosseum">
</a>
<figcaption>Rome Italy</figcaption>
</figure>
<figure>
<a href="https://freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="A wildlife park">
</a>
<figcaption>National Park in Italy</figcaption>
</figure>
<figure>
<a href="https://freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="A sea on the coast of Italy">
</a>
<figcaption>A south Italy sea</figcaption>
</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/145.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page