Tell us what’s happening:
I keep getting a error for “31. Each a element should have an href attribute with the value of https://www.freecodecamp.org/learn. Don’t forget the links in the list items”. I have gone to the forums to review previous question and gone over my code multiple times but can’t seem to find what’s wrong with my code.
Your code so far
<!DOCtype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="non-empty content">
<title>Travel Agency Page</title>
</head>
<body>
<h1>Travel Destinations</h1>
<p>introducing the travel opportunities.</p>
<h2>Packages</h2>
<p>Introducing the various packages</p>
<ul>
<li><a href src="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a></li>
<li><a href src="https://www.freecodecamp.org/learn" target="_blank">Private Tours</a></li>
</ul>
<h2>Top Itineraries</h2>
<figure>
<a href src="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="appropriate value"></a>
<figcaption>Some Text</figcaption>
</figure>
<figure>
<a href src="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="appropriate value"></a>
<figcaption>Some Text</figcaption>
</figure>
<figure>
<a href src="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="appropriate value"></a>
<figcaption>Some Text</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/134.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page