Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

  1. Both your list items should contain an anchor element.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset='utf-8'>
  <meta name="description" content="famous destinations">
  <title>Travel Agency Page</title>
</head>
<body>
  <h1>Visit Rome</h1>
  <p>fedsghvrthb rjiejfijerij uheiufiej itjeijiji9je </p>

  <h2>Packages</h2>
  <p>keifiew  jeijf  ijeijie lorem ipsemdcfs
  </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="Colosseum" />
        </a>
        <figcaption>Colosseum</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="Mountain" />
        </a>
        <figcaption>Mountain</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>Sea</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

the test is checking all your li items as you were asked to add only those two. So these quoted are seen by the tests, they don’t have an a element directly inside, and the test fail. You can remove this list to pass the test.