Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

  1. requirement (Both your list items should contain an anchor element.) and 21. requirement (The anchor element of your second list item should wrap the text Private Tours.) are not fulfilled, altough 20. requirement 20. (The anchor element of your first list item should wrap the text Group Travels.) is fulfilled.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8"/> 
    <title>Travel Agency Page</title>
    <meta 
      name="description" 
      content="Explore foreign countries"
    />
  </head>
  <body>
    <h1>Travel around the world!</h1>
    <p>Did you ever wondered what would it to be like traveling around the world? Well, you have your lucky day, because on this websites, we can provide a unforgettable experience for the low price of 1000 euros!</p>
    <h2>Packages</h2>
    <p>Imagine packages as McDonalds convenient menus. F.e, you want chicken nuggets, but you ain´t eating only that of course! Fries are needed as well. You can buy fries separately, but you can make convenient menu with chicken nuggets and some cola as well!</p>
    <ul>
      <a href="https://www.freecodecamp.org/learn" target="_blank"><li>Group Travels</a>
      <a href="https://www.freecodecamp.org/learn" target="_blank"><li>Private Tours</a>
    </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>Italy</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>Once again, Italy</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>Yeah, you guessed it, Italy.</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 OPR/120.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page
https://www.freecodecamp.org/learn/full-stack-developer/lab-travel-agency-page/build-a-travel-agency-page

the children of ul need to be li elements, what you did is not correct nesting

you can use an html validator to see which errors come from your code Ready to check - Nu Html Checker

Sorry, but I didn´t quite get it. What should I do then?

you need to fix the errors

which one are you confused about?

and you need to follow the user story

You should have an unordered list element with two list items. The two list items should have the text Group Travels and Private Tours, respectively. The text of each list item should be enclosed by an anchor element.

It was that easy… just put anchor behind the li element. Thanks for help, appreciate it