Build a Travel Agency Page - Build a Travel Agency Page

Tell us what’s happening:

Could you please explain to me what’s happening with question 31? I’ve tried everything but I can’t solve it!

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta name="description" content="Travel Agency Page"></meta>
    <meta charset="UTF-8"</meta>
    <title>Zezin Viagens</title>
  </head> 
  <body>
    <h1> Zezin Viagens & Cia</h1>
    <p> Temos viagem para todos os cantos, desde Onde Judas Perdeu As Botas, até Narnia</p>
    <h2>Packages</h2>
    <p>De Vila Rica - MT até Narnia apenas $100</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="www.freecodecamp.org/learn" target="_blank">
         <img src="https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt="collosseo in roma"></img> 
          <figcaption>Ah oreia seca</figcaption></a>
          </figure>
        <figure>
          <a href="www.freecodecamp.org/learn" target="_blank">
          <img src="https://cdn.freecodecamp.org/curriculum/labs/alps.jpg" alt="the alps" href="www.freecodecamp.org/learn" target="_blank"></img>
           <figcaption>Do jeito q deve ser</figcaption>
          </figure></a>
        <figure>
          <a href="www.freecodecamp.org/learn" target="_blank">
          <img src="https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt="the sea" href="www.freecode.org/learn" target="_blank"></img>
           <figcaption>Top de linha</figcaption>
          </figure></a>
    </body> 
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Agency Page - Build a Travel Agency Page

There should be a space between attribute/value pairs.

Don’t put closing anchor tag outside of figure element, move it inside of figure element

Yes. The syntax here is incorrect. The img element should be a link, so the closing tag for the a element should be after the img element. Also, remember that the img element is a void element and does not have a closing tag.

1 Like
<h2>Top Itineraries</h2>

    <figure>

      <a href= "www.freecodecamp.org/learn" target= "\_blank">

     <img src= "https://cdn.freecodecamp.org/curriculum/labs/colosseo.jpg" alt= "collosseo in roma"></a> 

      <figcaption>Ah oreia seca</figcaption>

     </figure>

    <figure>

      <a href= "www.freecodecamp.org/learn" target= "\_blank">

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

       <figcaption>Do jeito q deve ser</figcaption>

      </figure>

    <figure>

      <a href= "www.freecodecamp.org/learn" target= "\_blank">

      <img src= "https://cdn.freecodecamp.org/curriculum/labs/sea.jpg" alt ="the sea" href= "www.freecode.org/learn" target= "\_blank"></a>

       <figcaption>Top de linha</figcaption>

      </figure>

and so?

please put all your code in a code block, letting the post editor do it automatically make it add random characters

When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add the backticks.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

When using target attribute do not use it’s value as /_blank remove the slash, correct value _blank