sahro
May 11, 2025, 7:07am
1
Tell us what’s happening:
I couldn’t figure out, what wrong I did. So, can you help me to figure out the solution?
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Travel Agency Page </title>
<meta name="description" content="travel tourism agency">
</head>
<body>
<h1> Travel with High Safety </h1>
<p> Travel tourism agency </p>
<h2> Packages </h2>
<p> We can send your packages where you want all the world with safety and good service </p>
<ul>
<li> <a>Group Travels</a> </li>
<li> <a>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="Coliseo"></a>
<figcaption> Italy </figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Mountains"></a>
<figcaption> Norway </figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"> </a>
<figcaption> Mexico </figcaption>
</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/136.0.0.0 Safari/537.36 Edg/136.0.0.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page
Hi. You haven’t completed the anchor tags required at story 9 as they have no href and target attributes. Look at the spacing on your text as well against the instructions.
You don’t have an alt attribute on your third image element.
hello and welcome to fcc forum
you are supposed to use “appropriate” alt texts, as in checkout which country its from and try using that
and for those other two, lts refer to instructions
… Don’t forget the links in the list items
these links anchor elements missing “href” and “target” attributes
happy coding
sahro
May 15, 2025, 6:03pm
4
Tell us what’s happening:
Hi!
Could you help me out, please?
I’m stuck on step 31. It says this :
“31. 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.”
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Travel Agency Page </title>
<meta name="description" content="travel tourism agency">
</head>
<body>
<h1> Travel with High Safety </h1>
<p> Travel tourism agency </p>
<h2> Packages </h2>
<p> We can send your packages where you want all the world with safety and good service </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="The Colosseum in Rome">
</a>
<figcaption> The Colosseum in Rome </figcation>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="The Alps mountain range">
</a> <figcaption> The Alps mountain range </figcaption>
</figure>
<figure>
<a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="A scenic view of the ocean">
</a>
<figcaption>A scenic view of the ocean</figcaption>
</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/136.0.0.0 Safari/537.36 Edg/136.0.0.0
Challenge Information:
Build a Travel Agency Page - Build a Travel Agency Page