Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

I am not understanding why my a does not have a target attached to it.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

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

<!-- 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.">
       
    </main>
  </body>
</html>

Your browser information:

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

add the target attribute to the existing a element, do not create a new one

1 Like

See Buddy How you defined your Target value ?

Second you should define it in the existing anchor tag

Hope You will understand.

could you write out how that should look

Sure, if you check the example code in the instructions it’s written out how it should look:

Example Code

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

1 Like