Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Step 32.
Each (a ) element should have a target attribute with the value of _blank .

Your code so far

<!DOCTYPE html>
  <html lang="en">
    <head>
      <meta charset="UTF-8">
      <title>Travel Agency Page</title>
      <meta name="description" content="This is a website for travel entusiast">
    </head>
    <body>
      <h1>Mumbai</h1>
      <p>This is your chance to travel to the financial capital of the worlds largest democracy</p>
      <h2>Packages</h2>
      <p>We have multiple packages for differnt types of people</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>

        <figure>
          <a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="This is the first image" href="https://www.freecodecamp.org/learn" target="_blank"></a>
          <figcaption>This is an image of the colosseo</figcaption>
        </figure>

        <figure>
          <a href="https://www.freecodecamp.org/learn" target="_blank">lsdkafj<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="This is the photo of the alps" href="https://www.freecodecamp.org/learn" target="_blank"></a>
          <figcaption>This is a ptoto of the Alps</figcaption>       
        </figure>

        <figure>
          <a href="https://www.freecodecamp.org/learn" traget="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="This is a photo of the sea" href="https://www.freecodecamp.org/learn" target="_blank"></a>
          <figcaption>This is a photo of the 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/134.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Hi there, and welcome to the community!

I found a small typo in your <a> tag—traget="_blank" should be target="_blank". Fixing this should resolve the issue.

Happy coding! :rocket:

Hey thank you for replying, I have made the recomended changes but the problem still persist.

you just have to fix the typo, as that was the only issue. If you changed several things, please share your new code so I can check what’s wrong now. :blush:

<!DOCTYPE html>
  <html lang="en">
    <head>
      <meta charset="UTF-8">
      <title>Travel Agency Page</title>
      <meta name="description" content="This is a website for travel entusiast">
    </head>
    <body>
      <h1>Mumbai</h1>
      <p>This is your chance to travel to the financial capital of the worlds largest democracy</p>
      <h2>Packages</h2>
      <p>We have multiple packages for differnt types of people</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>
       
          
        <figure>
          <a href="https://www.freecodecamp.org/learn" target="_blank".><img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="This is the first image" href="https://www.freecodecamp.org/learn" target="_blank"></a>
          <figcaption>This is an image of the colosseo</figcaption>
        </figure>
       
       
        <figure>
          <a href="https://www.freecodecamp.org/learn" target="_blank".><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="This is the photo of the alps" href="https://www.freecodecamp.org/learn" target="_blank"></a>
          <figcaption>This is a ptoto of the Alps</figcaption>       
        </figure>
      
    
        <figure>
          <a href="https://www.freecodecamp.org/learn" traget="_blank".><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="This is a photo of the sea" href="https://www.freecodecamp.org/learn" target="_blank"></a>
          <figcaption>This is a photo of the sea</figcaption>
        </figure>
      
    </body>
  </html>

you should remove href and target from images, those are not valid attribute for the img element

also now you have a period after all target attributes on the a elements, that may be causing an issue

you still have the same typo here

you did not do the recommented changes, please try again