Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

My href and target attributes (steps 30 and 31) show as not passing, but I validated on Visual Studio and it works! HELP please :frowning:

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 many 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://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>
      
      <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>
    
  </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/131.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum @mariannepach

All the anchor elements require an href and target attributes.

Happy coding

2 Likes

-_- I see.

Thank you!

2 Likes