Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I have two problems about * 19. The anchor element of your first list item should wrap the text Group Travels.

    1. The anchor element of your second list item should wrap the text Private Tours.
  • What am i doing wrong, Can someone help? Happy new year for everybody!

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Travel Agency Page</title>
  </head>

  <body>
    <main>
      <h1>EmHaNoKu Travel Agency</h1>

        <p>Everyone loves to <a href="https://www.freecodecamp.org/learn"target="_blank">travel</a> to Europa!</p>
        
        <a href="https://www.freecodecamp.org/learn"target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="sea"></a>
        <h2>Packages</h2>

        <p>Italy, one of the most special countries in Europe with its rich historical values, natural beauties, museums, art and cultural heritage, is one of the most popular holiday destinations for holiday enthusiasts every year. Home to 51 structures on the UNESCO World Heritage List, Italy holds the world record in this regard. Italy, one of the countries visited by the most tourists in Europe, is also among the pioneering and founding countries of the European Union. Italy, which hosts many historical and cultural heritages from the glorious past of the Roman Empire to the present day, also surrounds the Vatican. With Italy Tours, you can have a travel experience where you can visit and see every nook and cranny of Italy's most touristic and popular holiday routes. Italy, the fourth most populous country in Italy, has a population of over 60 million. With all its riches, you can have an unforgettable travel experience in Italy, which is also the fifth most visited country in the world.</p>

        <ul>
          <li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a> for minimum 5 persons</li>

 <li><a href="https://www.freecodecamp.org/learn" target="_blank">Private Tours</a> for VIP</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="colosseo"></a>
         <figcaption>Rome Colosseo</figcaption>  
          </figure>

          <figure>
          <a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="alps"></a>
       <figcaption>Italian Alps</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>Adriatic Sea</figcaption>  
          </figure> 
    </main>

    <footer>
      <p>
        No Copyright - <a href="https://www.freecodecamp.org/learn" target="_blank">freeCodeCamp.org</a>
      </p>
    </footer>
    
  </body>
</html>

Your browser information:

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

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

the tests do not expect extra text in the li items

Hi, @HarunSular :wave:

I’m gonna go out on a limb here and say that your code is not the issue.
It looks totally fine.

I tried everything to tweak and alter the code. I rewrote that section from scatch. I then ran it by ChatGPT as a last resort. There is nothing that makes sense about the feedback.

Maybe report this to the site, and/or try starting over again in case something wonky happened, like you accidentally typed/pasted in a non-standard character that broke the test, like if you’re using a bilingual keyboard (But in the real world should not matter anyway).

I double checked, the test expect the anchor element inside the lis to be the first anchor elements in the page, if that’s not like that it fails

if you feel this is a bug, it would be great if you could open a github issue about that

2 Likes

thank you for your answer :grinning:

1 Like

thank you for your answer :smiley:

1 Like

Ah, ok. I confirm that got it to work.

@HarunSular it seems you can confuse the test runner by adding your extra stuff, even if it’s perfectly valid HTML, and they didn’t explicitly tell you not to add anything extra.

1 Like

when writing the tests these things can be missed, it’s important to receive feedback from learners to improve the curriculum!