Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Check #26: “Each figure element should contain a figcaption element as its second child.” I’m unsure what I am doing wrong. I have spellchecked, and tried other peoples’ code. Please help.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="Description" content="We are an international travel agency committed to bringing you the best travel experience!">
  <title>Travel Agency Page</title>
</head>
<body>
  <h1>Discover the world!</h1>
  <p>Find new cultures, new food, and new people! Choose from a huge variety of travel packages and enter your personal age of exploration!</p>
  <h2>Packages</h2>
  <p>We offer packages for nearly every country on Earth!</p>
  <ul>
    <li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</li></a>
    <li><a href="https://www.freecodecamp.org/learn" target="_blank">Private Tours</li></a>
  </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="The Coloseum.">
  <figcaption>The Roman Coloseum</figcaption>
  </a>
  </figure>
  <figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
    <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Beautiful mountain peak.">
  <figcaption>Explore nature and national parks!</figcaption>
  </a>
  </figure>
  <figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
    <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Vast ocean with a singular boat on the water.">
  <figcaption>Oceanic journeys await!</figcaption>
  </a>
  </figure>
</body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

https://www.freecodecamp.org/learn/full-stack-developer/lab-travel-agency-page/build-a-travel-agency-page

this is one of your figure elements.

What is the first child of this element?
What is the second child of this element?

(it may help you to indent the code properly…)

1 Like