Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

May I please have some help with 9,31 and 31 please.

Your code so far

<!DOCTYPE html>
<html>
<html lang="en">
  <body>

  <head>
    <meta charset="utf-8">
    <title> Travel Agency Page </title>
    <meta name="description" content="Discover amazing travel destinations and packages tailored for group travels or private tours.">
    </head>
    <h1> Exploring St.Kitts</h1>
    <p> Explore the natural beauty, culture and adventure of St Kitts and Nevis, two Caribbean islands with diverse attractions and experiences.</p>
    <h2>Packages</h2>
    <p> We offer an extensive range of holiday solutions to accommodate the needs of all our clients. From daily excursions in the most beautiful cities, to thorough tours of hidden villages and medieval towns to discover Italy's lesser-known sides.</p>
    <ul>
      <li> 
        <a href="https://www.tripadvisor.com/Hotel_Review-g674073-d265581-Reviews-St_Kitts_Marriott_Beach_Resort_Casino_Spa-Frigate_Bay_St_Kitts_St_Kitts_and_Nevis.html"> Group Travels</a></li>
      <li> 
        <a href="https://www.tripadvisor.com/Attractions-g147374-Activities-c61-t52-St_Kitts_St_Kitts_and_Nevis.html">Private Tours</a></li>
      </ul>

      <h2> Top Itineraries</h2>
      <ol> 
       <figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://tse2.mm.bing.net/th/id/OIP.FmtX-mUFJ3-kFvkQQOXTKAAAAA?r=0&rs=1&pid=ImgDetMain&o=7&rm=3" alt="Frigate Bay Beach"></a>
<figcaption>The beautiful white sand on Frigate Bay Beach</figcaption>
  </figure>

<figure>
       <a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://tse4.mm.bing.net/th/id/OIP.ktSPMy0Af_gntqEdaGqpOgHaEo?r=0&rs=1&pid=ImgDetMain&o=7&rm=3" alt="The Penninsula"></a>
  <figcaption>A view of the Penninsula</figcaption>
       </figure>

<figure>
        <a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://tse2.mm.bing.net/th/id/OIP.RtF-Pc42A7ohrUkPG_uU0wHaEo?r=0&rs=1&pid=ImgDetMain&o=7&rm=3" alt="Independence Square"></a>
  <figcaption>The Independence Square</figcaption>
        </figure>  
</ol>
</body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum :wave:

  • You have 2 html opening tags
  • body comes after head

Overall your html page structure should look like this:

<html>
    <head>
    </head>
    <body>
    </body>
</html>

Take care to read the test hints

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

Don’t forget the links in the list items.

1 Like

Where in the instructions were you asked to add an ol element? And the way you are using it is syntactically incorrect.

Until you are more comfortable with your HTML skills, you might find it useful to check your code with an HTML validator:

Just copy/paste your code in and check/fix errors until the validator says your code is okay.

You may also want to re-visit this video/transcript to review the benefit of using an HTML boilerplate to start your projects with a solid HTML structure.

1 Like

thank you! I saw where I went wrong.