Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

what is the problem? i already tried any method but it did not work

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Travel Agency</title>
  </head>
  <body>
    <h1>Travel Destinations</h1>
    <p>take advantage of our opportunities!</p>
    <h2>Packages</h2>
    <p>we have various packages to fit your needs.</P>
    <ul>
      <li><a>Group Travels</a></li>
      <li><a>Private Tours</a></li>
    </ul>
    <h2>Top Itineraries</h2>
    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
      <img src="https://toursfestival.com/images/img.producto/galeria-tailandia-default-3.jpg?41" alt="thailand">
    </a>
    <figcaption>thailand</figcaption>
    </figure>
    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
      <img src="https://www.iwanderlista.com/wp-content/uploads/2020/09/venice-italy-67-1027x685.jpg" alt="venice streets">
      </a>
      <figcaption>Venice</figcaption>
      </figure>
      <figure>
       <a href="https://www.freecodecamp.org/learn" target="_blank">
        <img src="https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1b/42/b8/bc/isla-pasion-cozumel-quintana.jpg?w=500&h=500&s=1" alt="Cozumel Beach">
        </a>
        <figcaption>Cozumel</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/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

The tests you are not passing expect that each a element have the correct href and target.

Do these two have those attributes?

    <li><a>Group Travels</a></li>
    <li><a>Private Tours</a></li>

i already check it twice but the problem is about href thing so i’m little bit puzzle by this so help me solve this problem, thank you

Right, like I mentioned, the test expects every a element on your page to have the correct href and target attributes.

I showed you two a elements that are near the top of your page, in your list. Do those two elements have any attributes?

yes, i have doing the thing you told earlier but it’s still incorrect

Hi there! Post your updated code.

it is still incorrect that’s why it is the problem

Show your latest code here in your next reply.