Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

  1. Each a element should have an href attribute with the value of https://www.freecodecamp.org/learn. Don’t forget the links in the list items. I cant solve this. Please help

Your code so far

<!DOCTYPE html>                                           <html lang="en" >                                        <head>  <meta charset="utf-8"> <title> Travel Agency </title> <meta name="description" content="I dont know">  </head>                                            <body> <h1> Travel the way you want </h1> <p> We have to expand </p> <h2> Packages</h2>                                       <p> There are various packages </p> <ul> <li> <a href="https://cdn.freecodecamp.org/learn" target="_blank"> Group Travels </a> </li> <li> <a href="https://cdn.freecodecamp.org/learn" target="_blank"> Private Tours </a> </li> </ul> </h2>                                                   <h2> Top Itineraries </h2>       <ul>                    <li>     <figure> <a href="https://www.freecodecamp.org/learn" target="_blank"> Coliseo <img src=" https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg"alt="alp"> </a> <figcaption> Coliseo </figcaption>   </figure>  </li>                                                   <li> <figure> <a href="https://www.freecodecamp.org/learn" target="_blank"> Alpies <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"alt="coliseo"> </a> <figcaption> Alpies </figcaption>  </figure>    </li>                                                  <li> <figure> <a href="https://www.freecodecamp.org/learn" target="_blank"> Sea <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"alt="sea"> </a> <figcaption> Sea</figcaption>    </figure> </li>    </ul>                                                </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 Edg/142.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Hi @Olga2 and welcome to our community!

Your HTML is poorly formatted which makes it very difficult to read and/or debug.

I ran your code through a formatter and this is how it should look:

<!DOCTYPE html>                                           
<html lang="en" >
   <head>
      <meta charset="utf-8">
      <title> Travel Agency </title>
      <meta name="description" content="I dont know">
   </head>
   <body>
      <h1> Travel the way you want </h1>
      <p> We have to expand </p>
      <h2> Packages</h2>
      <p> There are various packages </p>
      <ul>
         <li> <a href="https://cdn.freecodecamp.org/learn" target="_blank"> Group Travels </a> </li>
         <li> <a href="https://cdn.freecodecamp.org/learn" target="_blank"> Private Tours </a> </li>
      </ul>
      </h2>                                                   
      <h2> Top Itineraries </h2>
      <ul>
         <li>
            <figure>
               <a href="https://www.freecodecamp.org/learn" target="_blank"> Coliseo <img src=" https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg"alt="alp"> </a> 
               <figcaption> Coliseo </figcaption>
            </figure>
         </li>
         <li>
            <figure>
               <a href="https://www.freecodecamp.org/learn" target="_blank"> Alpies <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"alt="coliseo"> </a> 
               <figcaption> Alpies </figcaption>
            </figure>
         </li>
         <li>
            <figure>
               <a href="https://www.freecodecamp.org/learn" target="_blank"> Sea <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"alt="sea"> </a> 
               <figcaption> Sea</figcaption>
            </figure>
         </li>
      </ul>
   </body>
</html>

Not all of your href attributes have the correct url. Double check that they all exactly match the required url.

1 Like

Thank you very much!

1 Like