Target attribute , please help

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

Step 13

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 don’t understand what is wrong here? Can anybody help me?

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

Challenge: Step 13

Link to the challenge:

Target attribute is cool, try to remove any additional spaces near text cat photos

Look up the target attribute on google. There is a little mistake in your code. Make sure to match your code for target EXACTLY.

Hello! Do you see any issue here?

<a target="_blank"...

Because I don’t. Or did I misinterpreted your post?

The test don’t pass when you use quotes around _blank

I’m not sure why though

I’m not sure about this. I was just able to pass the tests with quotes around _blank.

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