Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

First your instructions say there should be a “p” element below the h2 but in your tests is says there should be 2 “p” elements.

It then says I do not have a UL list but I do:

So it fails me even though I have now added a second "p" element and everything else is marked correct.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>Travel Agency Page</title>
    <meta name="description" content="Go Dominican Republic, tours, attractions, experiences, activities"/>

</head>
<body>
    <h1>Discover The Dominican Republic</h1>
    <p>Art, folklore, food, nature, and more. Choose among our wide selection of guided tours and excursions, and live an unforgettable experience exploring the Dominican Republic.</p>
    <h2>Packages</h2>
    <p>
      Here are some packages
    </p>
    <p>
      There are both group and private tours
    </p>
    <ul>
      <li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a></li>
      <li><a href="https://www.freecodecamp.org/learn" target="_blank">Private Tours</a></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="colosseum view"></a>
      <figcaption>Rome and Center Italy</figcaption>
    </figure>
    
    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
    <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="dolomites mountain view"></a>
      <figcaption>Nature and National Parks</figcaption>
    </figure>
    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
      <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="sea view"></a>
      <figcaption>South Italy and Islands</figcaption></figure>
</body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

the failing test says:

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

Have you tried to add a ul below your second p element to see if that helps? (at the moment your ul is not directly below the 2nd p element)

is this confusiong because it says “your second p element”? the first one is the one under the h1

Thanks. What I have done is to add an an opening and closing ul below the first p element and that has enabled a pass score. Totally crazy when it seems that the instructions say one thing, the required answer insists on something different (that is only one p element ) and then fails you when you have done what was stated as needed in the required answer. Someone needs to correct these issues.

No! I had added 1 p element below the h2 but when tested it was failed as it said there should be 2 p elements below the h2. So I added one and it then passed that test, but then stated there was no ul element. I have now added an empty open and closed ul under the 1st p element, and that has been accepted, and the Lab passed. It seems to me the error is in the test result, requiring a second p element below the h2 not asked for in the directions.

try to look at the code above one more time.

I counted more than 2 paragraph elements.
(see if you can see what I saw and let me know)

how many paragraph elements do you see?