Tell us what’s happening:
Stuck on item 26 regarding figcaption. I’m not really sure what I’m doing wrong. any assistance?
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="width-device width, initial-width 1.0">
<title>Travel Agency Page</title>
<h1>Tour of Europe</h1>
<p>Travel to popular Europe destinations! Visit colosseums, hike in the alps, and take a boat ride across the Mediterranean Sea!</p>
<h2>Packages</h2>
<p>Travel packages for $250</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="Roman Colosseum"/>
<figcaption>Fig. 1 - Rome Colosseum, Rome, Italy</figcaption>
</a>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="The Alps"/>
<figcaption>Fig. 2 The Alps</figcaption>
</a>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Mediterranean Sea"/>
<figcaption>Fig. 1 Mediterranean Sea</figcaption>
</a>
</figure>
</head>
<body>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page
blindguy42:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="width-device width, initial-width 1.0">
<title>Travel Agency Page</title>
<h1>Tour of Europe</h1>
<p>Travel to popular Europe destinations! Visit colosseums, hike in the alps, and take a boat ride across the Mediterranean Sea!</p>
<h2>Packages</h2>
<p>Travel packages for $250</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="Roman Colosseum"/>
<figcaption>Fig. 1 - Rome Colosseum, Rome, Italy</figcaption>
</a>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="The Alps"/>
<figcaption>Fig. 2 The Alps</figcaption>
</a>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Mediterranean Sea"/>
<figcaption>Fig. 1 Mediterranean Sea</figcaption>
</a>
</figure>
</head>
<body>
</body>
</html>
Have a look at user story 11 again and test 26. Is figcaption a second child of figure here? This error may be on your others as well so check those.
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Roman Colosseum"/>
<figcaption>Fig. 1 - Rome Colosseum, Rome, Italy</figcaption>
</a>
</figure>
If you are still stuck reply to this thread with your updated code.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').