Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

  1. 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.
  2. Each a element should have a target attribute with the value of _blank. Don’t forget the links in the list items.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
       <meta name="description" content="This is a short description of the webpage."/>
    <meta charset="utf-8"/>
    <title>Travel Agency Page</title>
</head>
<body>
    <h1>Discover Italy</h1>
    <p>Landscapes that will take your breath away, rich history, and delicious food, your trip to Italy will be nothing short of unforgettable.</p>
<h2>Packages</h2>
<p>Our Italy package tours are carefully designed to provide you with an unforgettable experience where you'll discover the best of this stunning country.</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, Rome</figcaption>
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="The Alps mountains"></a>
<figcaption>The Alps mountains</figcaption>
</figure>
<figure>
  <a href="https://www.freecodecamp.org/learn" target="_blank">
  <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="A beautiful view of the sea"></a>
<figcaption>South Italy Islands</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.3.1 Safari/605.1.15

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

  1. 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. 32. Each

a

element should have a

target

attribute with the value of

_blank

. Don’t forget the links in the list items.
they said I have problem of those sentences but I cant find it. could you please check my work?

It helps if you talk about how you got stuck figuring out how to fix the errors the tests talk about.

you have a small error in these two lines, you are missing something

Look at the syntax coloring here. Why does the attribute name target look odd?

these are ok but the 3 list anchor element is not correct and I don’t know where. can you give me more details if you see it

yes I’m missing " in those 2, anything else?

Did you try to fix that error? What happened when you did?

yes it is correct when I fixed it. May I ask how I can find a mentor here to lead or help my work. this course is not a piece of pie.

If you post questions when stuck, people will help.

A mentor is not the same thing as a private tutor, and private tutoring is very expensive.