Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

I could not get the images to work.
First i tried to get Pictures witch would match the descripton, and when the did not show up, I used the providet links. But no.
Also it tells me, that the href and the target does not work, but in the Preview the seem to work just fine.

Thanks for your help and time!

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
      <title>India4YOU</title>
    <meta name="description" content="Is a normal tavel Agency Page." />
  </head>
  <body>
    <h1>India</h1>
    <p>Tempels,Castells and Wildlife</p>
    <h2>Packages</h2>
      <p>Famili Tempel-Tour, Romantic-Safari, History Castel-Tour</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 scr="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="Colloseo"></a>
        <figcaption>Taj Mahal</figcation>
      </figure>

      <figure>
        <a href="https://www.freecodecamp.org/learn" target="_blank"><img scr="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="Elephnat"></a> 
        <figcaption>Safari</figcation>
      </figure>

      <figure>
        <a href="https://www.freecodecamp.org/learn" target="_blank"><img scr="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR2lAMsT_kGNKKf0GO8t2AeMqLCOmh6kRMdgg&s" alt="Fortress"></a>
        <figcaption>Castel</figcation>
      </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/135.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

Double check the syntax for the img tag. Remember the attribute is short for SOURCE. scr seems like it would be short for SCREEN, maybe?

ups! thx! seems my notes where wrong there

thanks verry much!

my href and target attributes still seem to be wrong :man_shrugging:

Do you get an error or hint message?

not realy… when I check the code, it just does not tick off the last two points… but if nobody finds something, and it seems to work just fine… (at least the massage when i click on it says so…) maybe i just start with the next topic

thanks!

that’s your error message, what’s written there? what are you missing?

Read the items that did not check off. They are hints.

Look at the code you’ve provided in the first post. The syntax has been color-coded. Check out the colors of certain words, if they are the same or different. This can help to see if something is formatted incorrectly.

Thank you so much! I have to learn to see such hints for myself.

1 Like