Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

31 asks for a elements to have href with https://www.freecodecamp.org/learn as its source.

I have met this requirement as far as i can see but it won’t accept it.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8"> 
  <meta name= "description" content="Travel Agency tours and packages">
  <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 src="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a>
    </li>
    <li> <a href src="https://www.freecodecamp.org/learn" target="_blank">Private Tours</a></li>
  </ul>

  <h2>Top Itineraries</h2>

  <figure>
    <a href src="https://www.freecodecamp.org/learn" target="_blank"> <img src ="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="a picture of the coloseum"></a>
    <figcaption>The colosseum</figcaption>
  </figure>

  <figure>
    <a  href src="https://www.freecodecamp.org/learn" target="_blank"> <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="a picture of the alps"> </a>
    <figcaption>
      The alps
    </figcaption>
  </figure>

  <figure>
    <a  href src="https://www.freecodecamp.org/learn " target="_blank">
    <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg"  alt="a picture of the sea">
    </a>
    <figcaption>The Sea</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/138.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page
https://www.freecodecamp.org/learn/full-stack-developer/lab-travel-agency-page/build-a-travel-agency-page

Double check you don’t have extra spaces in tags or the urls

it does not look like you assigned a value to the href value here

Hello @jules.arsenault95 !

Good attempt!

It appears there is a misunderstanding as to the **href** and the **src** attributes, as I look at your code.

The href is used to link to an outside, or in document location.
The src is used to embed outside items within the document.

Here is a link that I hope will help provide clear understanding of the difference between them and when to use which one.

Keep up the good progress.

Amazing that solved the issue!
Thank you so much!

1 Like

Happy I could help!

Keep up the good progress @jules.arsenault95 !