Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Hi, I need help with the Travel Agency Page lab. I’m stuck on tasks 8, 18, 19, 20, 21, 26, 28, 31, and 32. I’ve read the instructions, searched the forum and docs, and tried multiple approaches, but the tests still fail. Could someone point out common pitfalls for these steps or share hints? I can post my code and screenshots if needed. Thanks!

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8"
    <title>Travel Agency Page</title>
    <meta name="description" content="La grosse plateforme pour vos voyages en business class">
    </head>  
    <Body> 
    <h1> Dakar,Paris, Montréal, New-York</h1>
    <p>Bénéficiez des meilleurs opportunités d'affaires </p>
    <h2> Packages </h2>
    <p>Class classique, Business class, Première class</p>
    <ul>
      <il> <a href="https://www.freecodecamp.org/learn" target="_Blank" >Group Travels<a> </il>
      <il> <a href="https://www.freecodecamp.org/learn" target="_Blank">Private Tours</a> </il> 
      </ul>
      <h2>Top Itineraries</h2>
<figure> 
  <a href="https://www.freecodecamp.org/learn" target="_Blank"> </a>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt=" Colosseo">
  <figcaption> Visitez Colosseo</figcaption>
  </figure> 
  <figure> 
    <a href="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" target="_Blank"></a> 
    <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt=" les Alpes">
    <figcaption> Visitez les Alpes</figcaption>
    </figure> 
    <figure> 
      <a href="https://www.freecodecamp.org/learn" target="_Blank"></a> 
      <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Look at the sea">
      <figcaption> Visitez ces plages paradisiaque</figcaption> 
</body> 
</html> 

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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

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?
  5. What is the result of the code and does it match the requirement?

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

Checking your code with this HTML Validator may help you locate some of the issues:

But also pay special attention to this instruction:

The three anchor elements should have an img element with an appropriate alt attribute and a src attribute set to a valid image as their content.

1 Like