Tell us what’s happening:
my anchor elements aren’t registering, nor wrapping the text they should, also my figcaptions aren’t showing up, help please
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" title="Travel Agency Page">
<meta name="description" content="a website fo connecting people with places">
<title>
PE Travel Agency
</title>
<h1>
Belaruse, Maldives, Greece!
</h1>
<p>
Tropical locations for low low prices!!
</p>
</head>
<body>
<h2>
Packages
</h2>
<p>
We have packages ranging from single person getaways: To full family vacations!!
</p>
<ul>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</li>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Private Tours</li>
</ul>
<h2>
Top Iteneraries.
</h2>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="image from freecodecamp.org">
<figcaption>default</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="image from freecodecamp.org">
<figcaption>default</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="image from freecodecamp.org">
<figcaption>default</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/136.0.0.0 Safari/537.36 Edg/136.0.0.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page
ILM
May 7, 2025, 8:38pm
2
can you explain more what you mean with this?
you need to fix the line above your figcaptions, that html is quite broken
sorry i went through and fixed my syntax on my anchor elements and added spacing to make it neat the only error im getting now is about the anchors in the figures
i put up a new post with the fixed code
ILM
May 7, 2025, 8:45pm
5
do not make duplicate posts
Tell us what’s happening:
stuck on steps 28 - 30 cant seem to figure out my syntax for my images and figcap arent working
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" title="Travel Agency Page">
<meta name="description" content="a website fo connecting people with places">
<title>
PE Travel Agency
</title>
</head>
<body>
<h1>
Belaruse, Maldives, Greece!
</h1>
<p>
Tropical locations for low low prices!!
</p>
<h2>
Packages
</h2>
<p>
We have packages ranging from single person getaways: To full family vacations!!
</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="image from freecodecamp"></a>
<figcaption>default</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank" <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="image from freecodecamp"></a>
<figcaption>default</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank" <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="image from freecodecamp"></a>
<figcaption>default</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/136.0.0.0 Safari/537.36 Edg/136.0.0.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page
ILM
May 7, 2025, 8:47pm
7
your anchor element is still broken