Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Describe your issue in detail here.
good day. am on html web certification and am having issues with this code below. can someone put me through??
Your code so far
Add a target attribute with the value _blank to the anchor (a ) element’s opening tag, so that the link opens in a new tab.

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

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: Learn HTML by Building a Cat Photo App - Step 14

Link to the challenge:

attributes follow the format of: attribute=“attribute-value”
this is an attribute that you already typed.
now you need to make a new attribute after href attribute in the <a> tag called: target, with the value of “_blank”

1 Like

You are already doing a good job, however, I would like you to go through the previous <a> tags you have written and compare them with the current one, you will be able to spot the first error in your code. Then for adding the target attribute, you will have to do it just the exact same way you add the class attribute with the value being _blank.

Happy coding.

1 Like

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