Learn HTML by Building a Cat Photo App - Step 14

the instructions tell me to place _blank at the opening tab. I tried to do that but it says that it’s wrong.

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 _blank 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

Hi there !

The task says, word for word “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.”. I think you missed a step here!

Good luck!

1 Like

what is a target attribute?

It is an attribute named target :slight_smile:
For the reminder, attributes are things you add in an element, for example src, href
So you need, by using the same formatting, add an attribute target and give if the value _blank.
Adding you a link here so you can see more examples and explanations about attributes:

(W3Schools isn’t the best reference, but for simple things like this you can use it!)

2 Likes