Tell us what’s happening:
Could someone help me with my error?
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">
<html>
<head>
<meta charset="UTF-8"/>
<meta
name="viewport"
content="width=device-with,initial-scale=1.0"/>
<title> Travel Agency Page </title>
</head>
<body>
<h1>Discover Italy </h1>
<p>Art, folklore, food, nature, and more. Choose among our wide selection of guided tours and excursions, and live an unforgettable experience exploring Italy.</p>
<h2>Packages</h2>
<p>We offer an extensive range of holiday solutions to accommodate the needs of all our clients. From daily excursions in the most beautiful cities, to thorough tours of hidden villages and medieval towns to discover Italy's lesser-known sides.</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="colosseo"</a>
<figcaption><em>Rome and Center Italy</em></figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"alt="alps"></a>
<figcaption><em>Nature and National Parks</em></figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"alt="sea"></a>
<figcaption><em>South Italy and Islands </em></figcaption>
</figure>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 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