Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Why is my html element with lang in en is still wrong ?

Your code so far

<!DOCTYPE html>
 <html lang="en">
  <head>
  <meta charset="UTF-8">
  <title>Travel Agency Page</title>
  </head>
  <body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

are you sure you have all the pieces needed to make an element?

What I do is code the whole thing out then test. Looks like you have stuff that you haven’t finished your thought on so the tests will fail.

Ask yourself questions like do I need a closing tag on this element or not.

So the html and the body are they void elements or do they need a closing tag?

Tell us what’s happening:

What’s wrong with those points below ?
2. You should have an html element with lang set to en.
3. You should have a head element within the html element.
9. You should have a body element within your html element.
26. Each figure element should contain a figcaption element as its second child.
28. Each of the elements that are children of your figure elements should contain an image.
31. Each a element should have an href attribute with the value of https://www.freecodecamp.org/learn. Don’t forg

Your code so far

<!DOCTYPE html>
 <html lang="en">
  <head>
  <meta charset="UTF-8">
  <meta name="description" content="free travel">
  <title>Travel Agency Page</title>
  </head>
  <body>
    <h1>visit Colombia</h1>
   <p>Enjoy the beautiful country</p>
   <h2>Packages</h2>
   <p>Discover beautiful places in Colombia</p>
   <ul>
     <li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a></li>
     <li><a href="https://www.freecodecamp.ord/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://www.istockphoto.com/fr/photo/colombie-cano-cristales-parc-national-serrania-de-la-macarena-gm1201456158-344555945" alt="Image of a colombian city">
<figcaption>A caption of a scenic view in Colombia</figcaption>
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
  <img src="https://www.istockphoto.com/fr/photo/vue-sur-la-ville-de-belle-medellin-colombia-gm1023022966-274613374" alt="Image of a colombian view">
  <figcaption>A beautiful picture of the city</figcaption>
  </figure>
  <figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
  <img src="https://www.istockphoto.com/fr/photo/bosque-de-palma-de-cera-la-samarie-san-felix-salamina-caldas-col-gm1092303382-293065962" alt="Picture of a picturesque lansdscape">
  <figcaption>A mountainous and green area</figcaption>
  </figure>
    </body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Please do not create duplicate posts for the same topic. I will merge this into your existing posts.

2.. Your html element is missing its closing tag.
3.. This is not being picked up by the tests because of the point above.
9.. See above.
26.. Your img elements should be nested inside your a elements but your a elements are missing their closing tags. This is why the figcaption elements are not second children of the figure elements.
28.. See above.
31.. One of your a elements has a mistyped url. You can avoid typos like this by copying/pasting urls and other such values.