Tell us what’s happening:
Hi guys
Managed to do this pretty quick but I am stuck on task 26 and 28 and I think I’ve done them already, any help or feedback is greatly appreciated thanks!
26. Each figure element should contain a figcaption element as its second child.
28. Each of the a elements that are children of your figure elements should contain an image.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="A travel agency page.">
<meta charset="utf-8">
<title>Travel Agency</title>
</head>
<body>
<h1>Travel Destinations</h1>
<p>These are the travel opportunities.</p>
<h2>Packages</h2>
<p>These is a brief explanation fo the various packages</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="Italy">
<figcaption>Italy</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target=_blank>
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Alps">
<figcaption>Alps</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target=_blank>
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="Sea">
<figcaption>Sea</figcaption>
</figure>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page