Tell us what’s happening:
i’ve passed all the tests for build a travel agency page lab except number 20: ‘Each a element should have an href attribute with the value of https://www.freecodecamp.org/learn. Don’t forget the links in the list items.’ I can’t see anything wrong with my code, and don’t know why the test is rejecting it. any suggestions?
Your code so far
<!doctype html>
<html>
<html lang="en">
<head>
<title>Beautiful Travel Agency</title>
<meta charset="utf-8" />
<meta
name="description"
content="beautiful amazing travel agency that is so good for travelling"
/>
</head>
<body>
<h1>Travel Destinations</h1>
<p>You can go soooo many places. So many! Anywhere in the world. Just ask! We specialise in train journeys.</p>
<h2>Packages</h2>
<p>This train. that train. do you want to spend twenty thousand australian dollars on a beautiful rail experience? then this is for YOU.</p>
<ul>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a> for minimum 5 persons</li>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Private Tours</a> for VIP</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="The colosseo"></a>
<figcaption>myfigure hashtag my figure</figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="blah"></a>
<figcaption>image 2</figcaption>
</figure>
<figure>
<a href="https://freecodecamp.org/learn"target="_blank"><img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="blah"></a>
<figcaption>image3</figcaption>
</figure>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:150.0) Gecko/20100101 Firefox/150.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page