Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I keep having problems with 5 and 31 I don’t know why everything seems fine

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
  <title>Travel Agency Page</title>
 <meta name= "Travel agency page" content= "Choosing us is the ideal choice, reasonable costs and breathtaking adventures!">
</head>
<body>
 <section>
  <h1>Travel Agency All</h1>
   <p>Choosing us is the ideal choice, reasonable costs and breathtaking adventures!</p>
   <img src="https://wondertravels.it/wp-content/uploads/2021/02/logo256.jpg" alt="logos agency">
  
</section>
<section>
 <h2>Packages</h2>
  <p>Our various packages include various types of travel, by land, sea, and air. Curious? Discover with us the packages designed specifically for every need.</p>
<ul>
   <li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a></li>
  <li><a hfref="https://www.freecodecamp.org/learn" target="_blank">Private Tours</a></li>
  </ul>
<h2>Top Itineraries</h2>
<ol>
  <li>
   <figure>
    <a href="https://www.freecodecamp.org/learn" target="_blank">
     <img src="https://www.repstatic.it/content/nazionale/img/2024/04/24/123213399-bde0b243-234d-49a8-9a7d-a789ab43cfd0.jpg" alt="Group Travels" href="https://www.freecodecamp.org/learn" target="_blank"></img></a>
<figcaption>These are our group trips</figcaption>
</figure>
<li>
 <figure>
  <a hfref="https://www.freecodecamp.org/learn" target="_blank">
   <img src="https://dynamic-media-cdn.tripadvisor.com/media/photo-o/30/03/0b/3f/caption.jpg?w=500&h=400&s=1" alt="Private Tours" a hfref="https://www.freecodecamp.org/learn" target="_blank">
   </img></a>
<figcaption>These are the personalized trips suited to your needs</figcaption>
</figure>
<li>
<figure>
  <a hfref="https://www.freecodecamp.org/learn" target="_blank">
   <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSay_n233PwkQJ9OtJzXfspcEiBQ2o8zHS11g&s" alt="Cruise" hfref="https://www.freecodecamp.org/learn" target="_blank">
   </img></a>
<figcaption>And finally, our beloved cruises that depart and make a thousand trips, even around the world.</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/139.0.0.0 Safari/537.36

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

Here are some troubleshooting steps you can follow. Focus on one test at a time:

  1. Are there any errors or messages in the console?
  2. What is the requirement of the first failing test?
  3. Check the related User Story and ensure it’s followed precisely.
  4. What line of code implements this?

If this does not help you solve the problem, please reply with answers to these questions.

It may help you locate your errors if you check your code with an HTML validator.

Ready to check - Nu Html Checker

Some of your <a> tags use hfref instead of href that breaks the links.

Your <img> tags have href attributes inside them, but images don’t support href. Instead, wrap the <img> with an <a> if you want it clickable.

A few <li> elements aren’t properly closed with </li>, which can confuse the tests.

Fixing those should get you closer to passing the tests :+1: