Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Describe your issue in detail here.
where do i add _blank in the code
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= _blank "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 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.120 Safari/537.36 Avast/109.0.19987.120

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

Link to the challenge:

Welcome to the community!

The target attribute and its value “_blank” can be added to the a anchor in the same manner as the href attribute and its value have been added. Important to make sure you leave a space both before and after the attribute and value so as not to cause code problems.

I have highlighted the href and its value to help you. I hope it helps!

Happy coding! :slight_smile:

1 Like

Just to add to what @anon42932716 has said
to add a blank value to a target attribute, follow the rule below

<a attribute="value" ></a>

The same way u wrote ur href attribute with the link as d value
do d same for d target
Hope it helps, goodluck!

1 Like

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