Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Build a Travel Agency Page.
Hi im stuck on #26 and #28. Im pretty sure my fig captions are in the correct spot and even looked up a youtube video to make sure. But its not getting check marked. Also for #28 it says all my anchor need pictures but on my preview all 3 are showing up. This will probably be a easy fix but ive been stuck for two hours today. Im new to HTML just driving me crazy. Thank you and sorry if this is easy fix. I just need help.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head> 
    <meta charset="utf-8">
    <title>Travel Agency Page</title>
    <meta name="description" content="Traveling plans to buy">
</head>
<body>
<h1>here to go for traveling</h1>
  <p>With so many places to travel, im gonna tell you where to go!</p>
<h2>Packages</h2>
  <p>We have to packages to choose from! we have a basic one and the other $199.99 premium</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">
  <img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="romes collosseo"></a>
<figcaption>Romes gladitors</figcaption>
  </figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
  <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Canadas Alps, cant be missed"><a href="https://www.freecodecamp.org/learn" target="_blank">
  </a>
  <figcaption>Big mountains</figcaption>
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
  <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="seawater">
  </a>
  <a href="https://www.freecodecamp.org/learn" target="_blank"></a>
<figcaption>Deep blue sea</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/142.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Looks like you have a couple of extra a elements inside your figure elements.

1 Like

omg im so dumb, thank you so much . I swear I was looking at another persons code, and he had that also. Thank you so much! Ive been stuck for so long and I just needed to delete two lines of code.

You are not dumb! Also, it’s best to understand that there are errors in the code others post here.

You are doing great…be patient with yourself. It’s tough to learn how to develop.

2 Likes