Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I am stuck on 32. Can anyone help me finish this lab up?

Your code so far

<!DOCTYPE html>
  <html lang="en">
    <head>
    <title> Travel Agency Page </title>
    <meta charset="utf-8" />
    <meta
      name="description"
      content="width=device-width, initial-scale=1.0" />
    </head>
    <body>
      <h1>Travel Destinations</h1>
      <p>Travel opportunties to Mexico and Canada!</p>
      <h2>Packages</h2>
      <p>We have a special offer of 2 free nights when you sign with our travel agency!</p>
      <ul>
        <li>Mexico <a href="https://www.freecodecamp.org/learn"<target="_blank">Group Travels </a></li>
        <li>Canada <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" alt="First image"<target="_blank">
        <img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="colosseum in Mexico"></img></a> 
        <figcaption>Collossem in Mexico</figcaption>
      </figure>
      <figure> 
        <a href="https://www.freecodecamp.org/learn" alt="Second image><target="_blank">
        <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Mountains in Canada"></a>
        <figcaption>Mountains in Canada</figcaption>
      </figure>
      <figure> 
        <a href="https://www.freecodecamp.org/learn" alt="Third image><target="_blank">
        <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Oceans"></a>
        <figcaption>Oceans</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/142.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum @planet0asis

target is an attribute, not an element.

Make sure the syntax is correct.

Happy coding

Thank you @Teller
I was able to figure it out I appreciate your help!

Thanks!

1 Like