Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Each a element should have a target attribute with the value of _blank. Don’t forget the links in the list items

i’'m stuck on 32 on travel agency

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
   <meta charset="utf-8">
   <title> Travel Agency Page </title>
    <meta name="description" content="no empty"></meta>
    </head>

<body>
<h1> ITALY</H1>
<P> come to visit rome</p>
<h2> Packages</h2>
<p> You can visit Rome,beach and mountains</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="building">
    </a>
  <figcaption>city</figcaption>
  </figure>

    <figure>
      <a href="https://www.freecodecamp.org/learn" target="blank">
      <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="mountains">
      </a>
    <figcaption>hiking</figcaption>
    </figure>
    
    <figure><a href="https://www.freecodecamp.org/learn" target="_blank">
    <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="sea">
    </a>
    <figcaption>beach</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/143.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Look carefully at your target value on this line.

1 Like

Take a look in this code

i made target=”_blank”

Good. If you still need help, please post your updated code.

thanks i’ve done it.it was just spaces in between

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.