Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

hi complete newbie here. can someone help me whats wrong with my code? thank you so much

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8"
  <title>Travel Agency Page</title>
  <meta name="Description" content="travel travel">
  </head>
  <body>
   <title>Travel Agency Page</title>
  <h1>Olivia Felise</h1>
  <p>June 05 2025</p>
  <h2>Packages</h2>
  <p>packages for Olivia</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>
        </ul>
<h2>Top Itineraries</h2>

<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"</a>
<figcaption>colosseo</figcaption>
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="colosseum for great warriors">
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank"</a>
  <figcaption>alps</figcaption>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" altg="mountain range">
  </figure>
  <figure>
    <a href="https://www.freecodecamp.org/learn" target="_blank"</a>
    <figcaption>sea</figcaption>
    <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="big blue sea">
    </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/143.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Hi

You have a syntax error here:

  <meta charset="utf-8"

Can you please say what other error messages you are getting and what you have tried to fix them?

1 Like

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

Each of the a elements that are children of your figure elements should contain an image.

These two are the only errors i have

Which parts of your code do you think meet those requirements?

i think the figures?

Where? What specific lines of code?

<a href="https://www.freecodecamp.org/learn" target="\_blank"</a>

i think these line of codes since it mention that Each of the a elements that are children of your figure elements should contain an image. but the guide said to use the link for href?

I don’t see an image inside of that anchor element? Also, that’s not valid syntax for an anchor element.

yeah but it says here

31. Each a element should have an href attribute with the value of https://www.freecodecamp.org/learn. Don’t forget the links in the list items.

im sorry complete beginner here.

Then I would go back to the Cat Photo App and review how anchor elements work. It should start around step 12. They cover exactly an example of an image inside of an anchor element

1 Like

got it. thank you so much

1 Like