Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

How do I make my code pass? There are a lot of checks that say something that I already did correctly is not correct

Your code so far

<!DOCTYPE html>
<html lang="en"> 
  <head>
    <meta charset="utf-8">
    <meta name="description" content="travel home page.">

    <title>Travel Agency Page</title>
  </head>
  <body>
<h1>travel opportunities</h1>
<p>we have many packages</p>

<h2>Packages</h2>
<p>Choose one of our amazing packages below!!</p>
<section>
<ul>
  <li><a href="https://www.freecodecamp.org/learn">Group Travels</a></li>
  <li><a href="https://www.freecodecamp.org/learn">Private Tours</a></li>
</ul>
</section>
<h2>Top Itineraries</h2>
<figure>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt"colosseo">
  <figcaption>The worlds best place</figcaption>
  </figure>
<figure>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt"alps">
  <figcaption>The 2nd best place</figcaption>
  </figure>
<figure>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt"sea">
  <figcaption>The 3rd best place</figcaption>
  </figure>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum @jeremyhuangmiami

17. You should have an unordered list element below your second p element.

Which element is below the paragraph element?

Happy coding

this is the part i think the requirements is refering to

What element is directly below the paragraph element?

the ul emement or section element?

Which element should appear below the paragraph element?

an unordered list element

But i have already put a unorderlist element below

Sometimes the tests require tags to be positioned exactly as it describes.

Which means, extra wrapping tags may render the test incomplete.

1 Like

The unordered list is nested in the section element.

So the code has a section element below the paragraph element, not an unordered list element.

1 Like