Tell us what’s happening:
Help on how i can get all the ul to have the anchor element which i think i did but then the code is not working and Each figure element should contain a figcaption element as its second child.
Your code so far
<!DOCTYPE html>
<html lang ="en">
<head>
<meta charset="UTF-8" title="Travel Agency Page">
<meta name="description" content="The best travelling agency.">
<title>Travel Agency Page</title>
</meta>
</head>
<body>
<h1>All over the country</h1>
<p>You can travel anywhere at a fair price now.</p>
<h2>Packages</h2>
<p>We've got loads of things feel free to stick around.</p>
<ul><a href="https://www.freecodecamp.org/learn" target="_blank">
<a href="https://www.freecodecamp.org/learn" target="_blank">
<li> Group Travels
</a>
<li> Solo travelling
</ul>
<ul>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<li>Private Tours
</a>
<li>Group viewing
</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="This is just a pic." target="-blank">
<figcaption>One Two</figcaption></a>
</figure>
<figure><a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Just a nice pic." target="_blank">
<figcaption>The movement is Great.</figcaption></a>
</figure>
<figure><a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt=" Random pic." target="_blank">
<figcaption>Why not?</figcaption></a>
</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/140.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page