Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I’ve passed every test except that each anchor element needs to have the href attribute listed. I have double and triple checked, but I just can’t seem to find the issue.

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Travel Agency Page</title>
  <meta name="description" content="Plan your trip to Minnesota">
</head>
<body>
  <h1>Welcome to Minnesota!</h1>
  <p> With 64 state parks and over 10,000 lakes, the adventures are endless.</p>
  <h2>Packages</h2>
  <p>We offer three packages: Day Trip, Camping, and Glamping.</p>
  <ul>
    <li><a href="https://freecodecamp.org/learn" target="_blank">Group Travels</a></li>
    <li><a href="https://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://dgx9rrgrsfte9.cloudfront.net/wp-content/uploads/2019/01/31095155/Campers-1024x683.jpg" width="250" alt="Group of young adults sit around a fire pit on a beach">
      </a>
      <figcaption>Make the most of our coasts by booking one of our many beachfront locations.</figcaption>
    </figure>
    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
        <img src="https://www.allaboutbirds.org/guide/assets/og/75335291-1200px.jpg" width="250" alt="Mother loon swims with baby by her side.">
      </a>
      <figcaption>Every area has its own unique set of wildlife to admire.</figcaption>
    </figure>
    <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
        <img src="https://ecolodgesanywhere.com/wp-content/uploads/2023/10/glamping-tent-2.jpg" width="250" alt="Glamorous white tent with twinkle lights sits on a wooden patio">
      </a>
      <figcaption>Camping not for you? Not to worry. Select one of our dozens of "Glamping" locations for an upgraded experience.</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

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Welcome to the forum @cgmontney

The list item anchor elements are missing www.

Happy coding

Hey! I had a similar issue before — everything looked right but the test still wouldn’t pass. From what I can see, your anchor tags all have href attributes, so that’s good. One thing to double-check is that none of the hrefs are missing or slightly off (even a small typo can mess with the test). Also, sometimes the tests want you to have an href on every single <a> tag, including the ones wrapped around images. It might help to go over each one slowly and re-run the test. You’re super close — it’s probably just a tiny thing!