Aprende HTML construyendo una aplicación de fotos de gatos - Step 15

Cuéntanos qué está pasando:

Tu elemento anchor (a) no tiene un atributo target. Comprueba que hay un espacio después del nombre de la etiqueta de apertura y/o que hay espacios antes de todos los nombres de los atributos.

Tu código hasta el momento

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

 <a href="https://www.freecodecamp.org" _blank="target"> freeCodeCamp </a>
    </main>
  </body>
</html>

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

Información del Desafío:

Aprende HTML construyendo una aplicación de fotos de gatos - Step 15

Please see the example code for how to do a target attribute in an anchor element:

<a href="https://www.freecodecamp.org" target="_blank">freeCodeCamp</a>

Also you need to add it to the existing line of code in the user editable region. Reset the step to get your code back and try again.

1 Like