Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I cant do the questions 28 without undoing 26 its very hard ive tried everything

Your code so far

<!DOCTYPE html>
<html lang = "en">
  <head>
    <meta charset = "utf-8">
    <meta name = "description" content = "Welcome aboard!">
    <title>Travel Agency Page</title>
  </head>
  <body>
    <h1>Travel Destinations</h1>
    <p>introducing the travel opportunities.</p>
    <h2>Packages</h2>
    <p> introducing briefly the various packages.</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"></a>
      <figcaption>The famous colousim</figcaption>
      <a href = "https://www.freecodecamp.org/learn"><img src = "https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt = "Roman"></a>
    </figure>
    <figure>
      <a href = "https://www.freecodecamp.org/learn"></a>
      <figcaption>Sunset on montains</figcaption>
      <a href = "https://www.freecodecamp.org/learn"><img src = "https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt = "Mountains"></a>
    </figure>
    <figure>
      <a href = "https://www.freecodecamp.org/learn"></a>
      <figcaption>A vast sea</figcaption>
      <a href = "https://www.freecodecamp.org/learn"><img src = "https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt = "Sea"></a>
    </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/148.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-travel-agency-page/669e2f60e83c011754f711f9.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi

You have put your anchor element in the wrong place in the figure elements. They should go first . Each should also have a target blank atttribute. You only put the anchor element once for each figure element

it keeps telling me Each of the a elements nested in your figure elements should contain an image.
I dont know what to do

<meta charset = "utf-8">

<meta name = "description" content = "Welcome aboard!">

<title>Travel Agency Page</title>
<h1>Travel Destinations</h1>

<p>introducing the travel opportunities.</p>

<h2>Packages</h2>

<p> introducing briefly the various packages.</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"></a>

  <figcaption>The famous colousim</figcaption>

  <img src = "https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt = "Roman">

</figure>

<figure>

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

  <figcaption>Sunset on montains</figcaption>

  <img src = "https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt = "Mountains">

</figure>

<figure>

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

  <figcaption>A vast sea</figcaption>

  <img src = "https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt = "Sea">

</figure>

Please read the advice on my previous post and work on your code. As you can see from this part of your code there is no img element in the anchor element

<figure>

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

  <figcaption>The famous colousim</figcaption>

  <img src = "https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt = "Roman">

</figure>