Answer my question

**Tell us what’s 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. happening:**here is the assignment

Click here to view more cat photos.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
<p>  Click here to view more <a href=_blank "">cat photos</a>.</p>
    <img src="" 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/101.0.4951.67 Safari/537.36

Challenge: Step 13

Link to the challenge:

Adding a target attribute is just like adding any other attribute. You add the name of the attribute and use the equals sign to set it to a value. Just like you did previously with the href attribute:

<a href="">

Except this time the name is target and the value is _blank. Just add the new attribute to the <a> tag after the href attribute/value.

Hello friendly person

You don’t have an attribute in your code. you do have the value inserted though.

You need to insert the attrbiute and the code in that order.

the formula in HTML is always: attribute=“value”
so if your attribute is ‘target’ and the value is ‘_blank’ then thats your solution. they stick together

<a href=“target”=_blank

Click here to view more cat photos.

i got it wrong with this code again please help

hello am still getting it wrong in my code please do well to write the correct code for me so i can take corrections

<a href=“target”_blank

Click here to view more cat photos

ps this is the code i wrote

you’re combining your commands. after each command a space needs to be left.

so your href=“weblink” and target=“_blank”. they all fit in the ‘a’ command

a target=“value” target=“value”
there is no double equals.

edit: dont forget to mark the tags properly"<>"

We can’t see your actual HTML. Please use the following directions to paste your HTML in here.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

It should look like this…
<a href=“” target=“_blank”>cat photos</a>

the Target attribute is separate from the href attribute

Please don’t post solutions in here. We try to help people find their own solutions.