Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

i am stuck on the last test. even though i have added the target attributes to all my a elements, it’s still failing the test. does the order of attributes matter?

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Travel Agency Page</title>
    <meta name="description" content="We'll help you plan your dream vacation from start to finish">
  </head>
  <body>
    <h1>Destinations</h1>
      <p>?</p>
    <h2>Packages</h2>
      <p>?</p>
    <ul>
      <li><a target="_blank" href="https://www.freecodecamp.org/learn">Group Travels</a></li>
      <li><a target="_blank" href="https://www.freecodecamp.org/learn">Private Tours</a></li>
    </ul>
    <h2>Top Itineraries</h2>
      <figure>
        <a target="_blank" href="https://www.freecodecamp.org/learn"><img alt="a Colosseum" src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg"></a>
        <figcaption></figcaption>
      </figure>
      <figure>
        <a target"_blank" href="https://www.freecodecamp.org/learn"><img alt="a landscape with mountains in the background and rocks in front of the mountains" src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"></a>
        <figcaption>
        </figcaption>                 
      </figure>
      <figure>
        <a target="_blank" href="https://www.freecodecamp.org/learn"><img alt="a boat on a body of water" src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"></a>
        <figcaption>
        </figcaption> 
      </figure>  
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/134.0.6998.99 Mobile/15E148 Safari/604.1

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

HI @zdpsrj22pc !

When you are failing tests and not sure why it is failing, you should run your code through an html validator.

You will learn about validators in a future lecture here

Here is a good tool to run your code through

When I ran your code, I found this syntax error

When I fix that, it passes that test.

It also look like you are failing this test too

Each figcaption should contain some text.

Once you fix those things, then you should pass the lab

hope that helps

thank you so much. so there is no = for the target attribute? is there a reason for this? just curious because I think it will help me remember the differences in syntax structures if I understand the reasons behind them.

Oops, looks like i pre-maturely responded. Deleting the equal signs didn’t work but for some reason when I added them back again it now passes the test. Thanks for linking that tool though. Now I have an additional resource to try when i’m stuck