I can't understand what I should do next.Could you help me?Thanks!

Tell us what’s happening:
Describe your issue in detail here.

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

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

Link to the challenge:

Do you have a question?

The instruction is:

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.

Which part of that is confusing you. I don’t mean that as a jab - I’m asking so we know which part to explain.

En… To be honest, my English is not good. I don’t know what is “a target”, and what I can do to add this. To understand the instruction is a challenge for me, so I wish someone can explain this with a simpler expression.

Anchor is an element, < a></ a>. You can add Atributes to elements. Target is one of these possible attributes for the Anchor element.

Now, use an Anchor element with the Attribute of Target, set to _blank;

<element attribute="value of attribute"></element>

====================================
Did you check to see if your language is avaliable?

change your language if available

freeCodeCamp_Languages

Oh, thanks!So I should put "target"after “a”, right? And “_blank”, surround it in quotes?

1 Like

Right, “target” is the attribute and “_blank” is the value. Just like this:

<img 
  src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"
  alt="A cute orange cat lying on its back."
>

has two attributes of “src” and “alt” which have values of “https://cdn…” and “A cute orange…”

Add target=“_blank” After <a and before href…

Thank you for your help! :grinning:

En!Thank you for your help! :grinning:

Most Welcome
Friend.