Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

  1. Each figure element should contain a figcaption element as its second child.
  2. Each of the a elements that are children of your figure elements should contain an image.
    Can someone explain and provide an example? These are the only things I’m missing.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Leading travel agency throughout North Macedonia, a tour guide for you.">
<Title>Experience Woosah</title>
</head>
<body>
<h1>North Macedonia Tour</h1>
<p>Macedonian arts, food, and all around culture for your woosah experience.</p>
<h2>Packages</h2>
<p>We provide trips throughout North Macedonia, food experienced once, interactive culture, and chances for some grand memories. Including our 15 packages with affordablity to all. Look through our itineraries for the experience you deserve on your vacation! </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"></a>
 <img src="https://media.gettyimages.com/id/1051413790/photo/matka-canyon-with-boat-in-lake.jpg?b=1&s=170667a&w=0&k=20&c=CVf2FMrokQDLM28QuZiX69DTVTX759y6CZNoed65cnk=" alt="Matka Canyon!"></a>
  <figcaption>Matka Canyon!</figcaption>
  </figure>
  <figure>
    <a href="https://www.freecodecamp.org/learn" target="_blank"></a>
  <img src="https://i0.wp.com/www.thebudgetsavvytravelers.com/wp-content/uploads/2017/10/DSC05755.1.jpg?resize=1020%2C600&ssl=1" alt="Bitola!"></a>
   <figcaption>Bitola!</figcaption>
  </figure>
  <figure>
    <a href="https://www.freecodecamp.org/learn" target="_blank"></a>
<img src="https://privin.net/wp-content/uploads/2023/10/North-Macedonia-1.webp" alt="Skopje!"></a>
<figcaption>Skopje!</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/146.0.0.0 Safari/537.36 Edg/146.0.0.0

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum @thesouletto!

  1. You should have at least three figure elements, each containing an anchor element and a figcaption element.
  2. The three anchor elements should have an img element with an appropriate alt attribute and a src attribute set to a valid image as their content.

User story 11 says each of your three figure elements should contain two elements: an anchor element and a figcaption element. So, if that’s all we have, figcaption is the second child of figure, right?

Then user story 12 goes on to say that the three anchor elements should have a valid image as their content.

If the image is nested inside the anchor element, your figcaption element once again becomes the second child and your code should pass.

Happy coding!