Learn HTML by Building a Cat Photo App - Step 13

i am on the step 13 of building a cat photo app
It says that I have 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 and I don’t understand how to do it as there are no examples as other steps

<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:**

Challenge: Learn HTML by Building a Cat Photo App - Step 13

Link to the challenge:

1 Like

Read the solution on this link.

i hope it helps

1 Like

Hi @Wajahatm990

Refer to how you add a src attribute and its value to img element.

target is also an attribute and you put it inside an element including its value.

In this case the value of the attribute target is _blank.

Hope it helps