Need help on step 13

Tell us what’s happening:

I keep trying to put the target attribute somewhere else but nothing gives. it says “Your anchor (a ) element does not have a target attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names.”

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href="">cat photos<target="_blank"></a></p>
    <img src="" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 13

Link to the challenge:

An attribute goes on the opening tag of an element. You would add the target attribute to the opening <a> tag just like you added the href attribute to the opening <a> tag.

thankyou so much I was stuck on this for a solid 20 min :joy:

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