Tell us what’s happening:
Hey,
I am having trouble finishing this code. It doesn’t approve task 26 (Each figure element should contain a figcaption element as its second child) or 32 (Each an element should have a target attribute with the value of _blank. Don’t forget the links in the list items). What am I missing in the code?
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Travel Agency Page</title>
<meta name="description" content="Get proffesional help to plan your trip to Stockholm">
</head>
<body>
<h1>Visit Stockholm</h1>
<p>Go to Stockholm and have a great time!</p>
<h2>Packages</h2>
<p>See the beautiful culture Stockholm has to offer! Choose between our travel packages.</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" taget="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" target="_blank" alt="A picture of Rome">
<figcaption>A picture from Rome</figcaption>
</a>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" target="_blank" alt="the snowy mountains">
<figcaption>The snowy mountains</figcaption>
</a>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" target="_blank" alt="the ocean">
<figcaption>The ocean</figcaption>
</a>
</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.2 Safari/605.1.15
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page