Step 13 in the orange cat laying on it's back

I don’t understand where to put the target in step three all it says it to add _blank so it opens another browser,

  **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/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53

Challenge: Step 13

Link to the challenge:

So an attribute is like a setting for a tag… its telling you to add a ‘target’ attribute to your existing <a> tag, and it should have a value of “_blank”. To get an idea of what that should look like, “href” is also an attribute of your <a> tag. Another example, below is a div element with an ‘id’ attribute with a value of “mydiv” and a ‘class’ attribute with a value of “cooldiv”:

<div id="mydiv" class="cooldiv"></div>

1 Like

sorry for not getting back to you sooner but thanks so much.

not helpful***************************

the anchor tag can be given target attribute with value “_blank” to open link in new tab or new window

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