Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

My “a” element looks having the exact attributes with the requested values but still returning error. Can u plz help?
it keeps telling me : 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="Description of Travel Agency Page">
  </head>
  <body>
    <h1>Travel destination</h1>
    <p>Travel opportunities</p>
    <h2>Packages</h2>
    <p>introducing briefly the various packages.</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 alt="Text1" src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg"></a><figcaption>Text1</figcaption></figure>
    <figure><a href="https://www.freecodecamp.org/learn" target="_blank"><img alt="Text2" src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg"></a><figcaption>Text2</figcaption></figure>
    <figure><a href="https://www.freecodecamp.org/learn" target="_blank"><img alt="Text3" src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"></a><figcaption>Text3</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/139.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

but

It looks like you forgot the list items

2 Likes

You’re right! Thank you

1 Like