Tell us what’s happening:
For some reason, I keep getting and error with the Item 18: “Both your list items should contain an anchor element.” although I’m sure there is nothing wrong with this item. I don’t know what to change
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Travel Agency</title>
</head>
<body>
<h1>Discover Italy</h1>
<p>Art, folklore, food, nature, and more. Choose among our wide selection of guided tours and excursions, and live an unforgettable experience exploring Italy.</p>
<h2>Packages</h2>
<p>We offer an extensive range of holiday solutions to accommodate the needs of all our clients. From daily excursions in the most beautiful cities, to thorough tours of hidden villages and medieval towns to discover Italy's lesser-known sides.</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>
<ul>
<li>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Colosseo">
</a>
<figcaption>Rome and Center Italy</figcaption>
</figure>
</li>
<li>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Alps">
</a>
<figcaption>Nature and National Parks</figcaption>
</figure>
</li>
<li>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Sea">
</a>
<figcaption>South Italy and Islands</figcaption>
</figure>
</li>
</ul>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page