Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Hello everyone. Nice to meet you all. I am having a few problem in step 30 and 31 and i don’t know what is wrong with the code. Please help me to overcome the problems. Thanks you guys. Sincerely.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8"/>
    <title>Travel Agency Page</title>
    <meta name="description" content="Travel agency page for smooth and safe journey"/>


  </head>
  <body>
    
    <h1>Destination Across Europe</h1>
    <p>Explore all the wonders of the continent</p>
    <h2>Packages</h2>
    <p>Full Packages of the trip include single room hotel for two nights, buffee for three meals a day and desired number of water and suveniors</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://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="photo"/>
      </a>
      <figcaption>Rome</figcaption>
    </figure>

    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank" >
        <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="photo"/>

      </a>
      <figcaption>Mountains</figcaption>
    </figure>

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

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

the hint says “Don’t forget the links in the list items.”, have you checked those?

1 Like

Is it Group Travel and Private Tour?

Hi,
Yes. It looks like you’ve forgotten about those two.
Good luck!

1 Like

Can you pls tell me where should i put those two?

The error talks about anchor elements right. You have two anchor elements that are missing the href and target attributes. Add the attributes to those anchor elements.

1 Like

yess it works, thank you alot.

1 Like