Tell us what’s happening:
Hi. I get this message on step 31 of the travel agent website. Each a element should have a target attribute with the value of _blank.
Here is my code:
Thanks!
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Travel Agency Page</title>
</head>
<body>
<h1>Travel Destinations</h1>
<p>
Travel Opportunities
</p>
<h2>Packages</h2>
<p>
introducing briefly the various packages
</p>
<ul>
<li><a href="https://www.freecodecamp.org/learn">Group Travels</a> </li>
<li><a href="https://www.freecodecamp.org/learn">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="Colosseo"></a>
<figcaption>Colosseo</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>Alps</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Sea"></a>
<figcaption>Sea</figcaption>
</figure>
</p>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page