Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

i keep getting the same error in 31 and 32 but the code is good I do not see any error on it pls help: 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.
Failed:32. Each a element should have a target attribute with the value of _blank. Don’t forget the links in the list items.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Travel Agency Page</title>
  <meta name="description" content="Travel agency page">
</head>
<body>
 <h1>Discover Italy</h1>
 <p>Explore the rich history, culture, and cuisine of Italy with our exclusive travel packages.</p>
 <h2>Packages</h2>
 <p>We offer a variety of group and private tour packages tailored to your interests.</p>
 <ul>
  <li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a></li>
  <li><a href="#">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="coliseo romano"></a>
  <figcaption>Rome in center Italy</figcaption>
 </figure>
 <figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
    <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="snowy mountains">
  </a>
  <figcaption>Snowy mountains</figcaption>
 </figure>
 <figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
    <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="el mar azul">
  </a>
  <figcaption>The blue sea</figcaption>
 </figure>
</body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

are you sure you did not forget the links in the list items?

1 Like