Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

Describe your issue in detail here.
How can i add the target _blank on the code

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

    <target_blank/>  <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.">

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

1 Like

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hi @vilmariezdiazperez

Your code is not quite right.
Please reset the step to restore the original code.

The target attribute needs be placed in the anchor opening tag.

Here is an article about the target attribute you may find helpful.

Happy coding


Great work! ‘target=’ is a property that goes inside tags. In this case before or after the ‘href=’ inside of your ‘a’ tag insert ‘target=_blank’. You are allowing the link to open in a new tab in this case, if I am not mistaken. After erase the tag you created for ‘target_blank’. Good luck!

1 Like

No submit or reset button i showing, just present an index.html