Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

where am i getting it wrong please, i am trying but i don’t seem to figure it out

Your code so far

<!DOCTYPE html>
  <html lang="en">
    <head>
      <meta charset="utf-8">
      <title>Travel Agency Page</title>
     <meta name="description"content="Travel around the world from the eye of a photographer">
     </head>
     <body>
       <h1>THE BEAUTY OF ITALY<h1>
        <p>Explore all the wonders of the continent</p>
        <h2>Packages</h2>
        <p>family travels and friends</p>
        <ul>
          <li><a href="https://www.freecodecamp.org/learn"target="_blank"</a>Group Travels</li>
            <li><a href="https://www.freecodecamp.org/learn"target="_blank"</a>Private Tours</li>
            </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="Rome">
              <figcaption>beauty of rome</figcaption>
              </figure>
              <figure>
                <a href="https://www.freecodecamp.org/learn"target="_blank"</a><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"alt="National Park"
                <figcaption>national park</figcaption>
                </figure>
                <figure>
                  <a href=" https://www.freecodecamp.org/learn"target="_blank"</a><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"alt="Island">
                  <figcaption>islands</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/135.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Hi @confidenceabani !

Welcome to the forum!

Here are the error messages failing for me

  1. You should only have one h1 element

This is incorrect syntax here

Re review the other elements for correct syntax.

  1. Both your list items should contain an anchor element.

You also have syntax errors here. Please review how to close html elements to fix the errors.

  1. Each figure element should contain a figcaption element as its second child.

It looks like you have more syntax errors with unclosed elements

Also, I don’t see a closing figure element here

Once fix those syntax errors, then you will be able to start passing tests.

it is totally normal, to have these syntax errors since you are brand new to learning. So here my tips for all beginners going through the labs the first time

  1. Test your code often. Most beginners will right a bunch of code, then the run the test suite. But that will lead to a bunch of errors and make it harder for you to see where you went wrong. Instead write a little bit of code and target one user story at a time.
  2. Use validators as often as possible since you are new to the syntax. It will tell you where you went wrong
  3. Don’t be afraid and go back and review lectures and workshops since this information is still new to you. That will help you see the errors better and help you understand how to fix them

Hope that helps