Learn HTML by Building a Cat Photo App - Step 13

I’m stucked here in step 13 and don’t know what exactly to do as I have made several attempts to " 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." but to no avail.

Please I need assistance to get through this step.

Thank you

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href _blank="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.">
  **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: Learn HTML by Building a Cat Photo App - Step 13

Link to the challenge:

an attribute in html is something that you put inside the opening tag of an element.
For eg. If i want to add a target attribute, then I would do it by writing this:

<a href="a link" target="somewhere">Click Me!</a>

The value of the target attribute right now is “somewhere”.
That is not a valid value for target, but I am just using it here to illustrate the syntax for you.

So we add attributes to element’s opening tags.
And we write the target name first followed by equal sign followed by a value in double quotes.

hope this helps

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