Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
I’m trying to add the target attribute to my code and so far every way I’ve tried hasn’t worked.

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.131.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 14

Link to the challenge:

You didn’t set the target attribute to _blank u just wrote _blank. You are also to put the a at the beginning of the tag

I just tried to do it this way and that’s wrong too.

The href is to be set to “htttps://freeecatphotoapp.com” and target to _blank

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.