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>
1 Like

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

1 Like

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?

1 Like

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

1 Like

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.

So my Step #17 states that it is still incorrect. I checked my href and a elements but I just can’t seem to get it right. I am only missing step#17 for some reason. Please help.
Sorry it won’t let me put my work in here without sending it to the links.

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Get Help > Ask for Help button located on the challenge.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like