Tell us what’s happening:
I am having issues getting past the flowing steps but my code seems to follow all of the rules?
- You should have an h2 element after your unordered list.
- Each figure element should contain a figcaption element as its second child.
- 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 charset="utf-8" />
<meta
name="description"
content="Here is the content." />
<title> Travel Agency Name </title>
</head>
<body>
<main>
<h1>Travel Destinations</h1>
<p>Travel Opportunties </p>
<h2>Packages</h2>
<p>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
</ul>
<h2>Top Itineraries</h2>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://toursfestival.com/images/img-producto/galeria-tailandia-default-3.jpg?41" alt="Thailand">
</a>
<figcaption>Thailand</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1b/42/b8/bc/isla-pasion-cozumel-quintana.jpg?w=500&h=500&s=1" alt="Cozumel Beach">
</a>
<figcaption>Cozumel</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://www.iwanderlista.com/wp-content/uploads/2020/09/Venice-Italy-67-1027x685.jpg" alt="Venice streets">
</a>
<figcaption>Venice</figcaption>
</figure>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.4 Safari/605.1.15
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page
https://www.freecodecamp.org/learn/full-stack-developer/lab-travel-agency-page/build-a-travel-agency-page