Tell us what’s happening:
“18. You should have two items in your unordered list.
Failed:19. Both your list items should contain an anchor element.”
Step 18 and 19 failed. Ran that portion of code separately and it passed. Not sure where my error is. I got step 18 and 19 to work when I ran those few lines on it’s own. So the issue isn’t with the structure of the list itself. And I’m certain all elements have closing tags attached
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Travel Agency Page</title>
<meta name="description" content="For the best savings in travel and transportation.">
</head>
<body>
<section>
<h1>Destinations</h1>
<p>Explore our top destinations around the world.</p>
<ul>
<li>Aruba</li>
<li>Bahamas</li>
<li>Curacao</li>
<li>Jamaica</li>
<li>United Kingdom</li>
<li>United States</li>
</ul>
</section>
<section>
<h2>Packages</h2>
<p>Air and accommodation packages, along with packages for lodging on the lake and skiing. Fishing is also available.</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://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="The Colosseum in Rome">
</a>
<figcaption>Rome, Italy</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="The Alps mountains">
</a>
<figcaption>The Alps</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Beautiful sea and beach">
</a>
<figcaption>Tropical Sea</figcaption>
</figure>
</section>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page