I am stuck on this step

Here is my 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>

I am unsure where to put the attribute “_blank”

Challenge: Step 13

Link to the challenge:

Add a target attribute with the value _blank to the anchor ( a ) element’s opening tag

You need to add a target attribute with _blank as the value. Can you identify the anchor element?

An element has 3 parts

<element> <!-- this is the opening tag -->
  <!-- this is some stuff in the middle -->
</element> <!-- this is the closing tag -->
1 Like

Thank you for replying I have figured it out!

1 Like

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