Tell us what’s happening:
- Each of the a elements that are children of your figure elements should contain an image.32. Each a element should have a target attribute with the value of _blank. Don’t forget the links in the list items.
Eating Italy
Come and discover lots of seafood dishes
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>travel agency page</title>
<meta name="description" content="this is a page about travel agencies">
</head>
<body>
<h1>Eating Italy</h1>
<p>Come and discover lots of seafood dishes</p>
<h2>Packages</h2>
<p>We offer many packages from simple restaurant suggestions, to multiple day treks that leave the City and traverse to the country side.</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="picture of the colosseum"></a>
<figcaption>View of the Colosseum</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Alps"></a>
<figcaption>View of 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="view of the sea"></a>
<figcaption>View of the sea</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/137.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page