Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Why are test cases 16, 17, 18, and 19 failing?

I have tried everything, including shortening the second

element, but nothing works.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Travel Agency Page</title>
  <meta name="description" content="travel in assam. post popular place in assam">
</head>

<body>

<h1>Kaziranga National Park</h1>

<p>Kaziranga National Park, a UNESCO World Heritage Site in Assam, India, is renowned for its diverse wildlife, especially the one-horned rhinoceros. It offers exciting travel experiences such as: 
<ul>
  <li><strong>Jeep Safari & Elephant Safari:</strong> Explore deep into the forest to witness rhinos, tigers, wild elephants, and migratory birds.</li>
  <li><strong>Birdwatching Tours:</strong> Ideal for bird lovers, with species like pelicans, storks, and eagles.</li>
  <li><strong>Cultural & Village Tours:</strong> Experience the local Assamese and tribal culture.</li>
  <li><strong>River Cruises on the Brahmaputra:</strong> Spot river dolphins and enjoy scenic views.</li>
</ul>
</p>

<h2>Packages</h2>
<p>We offer different tour packages to suit your budget and travel preferences, from short weekend trips to luxury experiences.</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="colosseo" ><br></a>
  <figcaption><strong>2-Day Quick Kaziranga Tour</strong>One safari (elephant or jeep), park visit, and local sightseeing.</figcaption>
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="alps"><br></a>
  <figcaption><strong>3-Day Wildlife & Cultural Experience</strong>Two safaris, birdwatching, and a visit to nearby villages.</figcaption>
</figure>
<figure>
  
  <a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="sea"><br></a>
  <figcaption><strong>5-Day Kaziranga & Assam Exploration</strong>Multiple safaris, Brahmaputra cruise, visit to Majuli Island, and tea garden tours.</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/132.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

It helps if you say what those tests are instead of just giving the numbers.

Have you passed the code though an HTML validator to check for errors?

Hi and welcome to the forum :wave:

The tests are kind of sensitive for this. Don’t add anything extra:

You should have an h1 element to present your travel destinations.
You should have a paragraph below the h1 element introducing the travel opportunities.
You should have an h2 element with the text Packages.
You should have a p element introducing briefly the various packages.

The first paragraph it doesn’t ask for any ul so don’t put one.

Hi there and welcome to our community!

A paragraph (p) element, should only contain ‘phrasing content’. You should not put lists inside a p element, as that is semantically incorrect.

You’ll probably find that if you remove that ul element and the li elements from this p element, you’ll pass the remaining tests. (You should only have one ul element in your HTML document, below your second p element).

1 Like