Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

p>See more cat photos in our gallery.

add target attribute with value _blank after opening ‘a’ element

Your code so far

      <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>

<!-- 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

Please 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!

In step 14, you should add a target attribute to the opening tag of the anchor element. Assign the target attribute a value of _blank, so it can open in a new window or tab when a user clicks it.


<a href = "link" attribute = "value"> Item </a>