Learn HTML by Building a Cat Photo App - Step 13

Tell us what’s happening:
Describe your issue in detail here.
I’m having difficulties finding the target attribute, therefor I cant input the code
_blank anywhere, looking forward to getting an assistance

Thanks

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href ="https://freecatphotoapp.com">cat photos</a>.</p>
    <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/15.6.1 Safari/605.1.15

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

Link to the challenge:

You have to create it (not find it) by adding it to the anchor tag.

which anchor tag do you think I should put it ?

How many anchor tags do you see?

1 Like

There is only one anchor tag in the code.

Recall the anchor tag looks like this <a href….

yeah I know right, but I did that and didn’t work the hint says "the anchor a element does not have a target attribute

I can only see the code you posted above. In the version I see you did not yet add the target attribute.
Perhaps you can share the newest version?

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like
<p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a>.</p>

Can you add the target attribute to the anchor tag? (This is the point of this exercise)

im sorry I cant

Do you see how the anchor tag has an href attribute inside?
The exercise just wants you to go to that same spot and add the word target there. (Next to the href attribute) Then add equal sign. Then double quotes.
Inside the double quotes you will put the value given in the instructions.