Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I’m stuck at steps 31 & 32. It might just be a silly error but I can’t figure out what’s happening here.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Travel Agency Page</title>
    <meta name="description" content="moz">
  </head>
  <body>
    <h1>Visiting Germany!</h1>
    <p>Known for its great economy within the european countries, this place has much more to offer. Whether you are considering Germany for a short trip or a month long stay, you will not be disappointed.</p>
    <h2>Packages</h2>
    <p>Choose your path:</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="moz" />
      </a>
      <figcaption>Exciting cities</figcaption>
      
    </figure>
        <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
      <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="moz" />
      </a>
      <figcaption>Stunning Nature</figcaption>
      
    </figure>
        <figure>
      <a href="https://www.freecodecamp.org/learn" target="_blank">
      <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="moz" />
      </a>
      <figcaption>Peaceful</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/140.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

double check here, the syntax is slightly off

2 Likes

So I just skimmed your code, but I did see this:

  • Private Tours
  • Those two double quotes in a row is probably what is tripping you up. Think about what the quotes do and think about whether you need to delete one pair or move it.

    Also, some general advice. Sometimes the errors in these kinds of challenges are misleading. For example, you’re being told you need a _blank in all your <a>elements, which makes it sound like you’re missing a _blank somewhere and need to write another one in. But that’s not what’s going on in your code. The problem is that the way you’ve written your code, one of your _blank entries is not being recognized as an attribute, so as far as the check it concerned, it isn’t there. Which causes confusion, because until you see what the issue is, it your mind’s eye, it clearly is there. I hope that makes sense.

    2 Likes

    Yeah, that fixed it.
    Thanks for the quick response, people!