Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Absolutely stumped
8. title element should have your travel agency name.
9. you should have a body element within your html element.
28. each of the a elements that are children of your figure elements should contain an image.
can anyone help.

Your code so far

<!DOCTYPE html>
<html lang="en">
<html>
<body>
  <head>
    <meta charset="UTF-8"
    <title>Travel Agency Page</title>
    <meta name="description" content="width=device-width, initial-scale=1.0"/>
  </head>
  <h1>California, Mexico, Las Vegas, Paris, France, Cancun, The Bahamas and Much More!</h1>
  <p>Experience the vacation of a lifetime with us! Traveling wherever. Whenever.</p>
  <h2>Packages</h2>
  <p>Sunny Package, Timeless Package orSandy Package</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"></a>
  <figcaption><img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Visiting Collosseum">Visiting The Colloseum In Rome</figcaption>
</figure>
<figure> 
  <a href="https://www.freecodecamp.org/learn" target="_blank"></a>
  <figcaption><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Visiting the alpines">Visiting The Beautiful Alpines!</figcaption>
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank"></a>
  <figcaption><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Dipping Your Toes In The Sea">Laying In The Sand By The Sea or Snorkeling!</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/145.0.0.0 Safari/537.36 Edg/145.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum @victormuniz07 !

  • Please check in the <head> element that every tag is closed properly.
    You can see in the code you shared for example that the <title> turned to blue like an attribute.

  • You have <html> tag duplication. Why did you created two opening tag?

  • Your <body> element should be after the closing </head> element.
    It´s the same logic like your body:
    html is the human and humans from top to bottom: head → body → foot (or <footer> in html)

If you fix those, you will be left with test 28.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.