I'm trying to add a target attribute with the value _blank

I am trying to add a target attribute with the value _blank to a anchor (a) elements opening tag?

  <p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a></p>
<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 (X11; CrOS aarch64 14588.123.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36

Challenge: Step 13

Link to the challenge:

target is the attribute and _blank is the value you should set it to. You use it just like you use any other attribute, like an id or a href.

Example:

<a href="https://freecatphotoapp.com">cat photos</a>

href is the attribute and https://freecatphotoapp.com is the value.

1 Like