Learn HTML by Building a Cat Photo App - Step 13

Tell us what’s happening:
Describe your issue in detail here.
Okay. Thanks for this opportunity. I’m in a stage where i need to add an attribute(_blank) to an (a) element so the link will open in a new tab, but I’m finding it diffilcult…help me please i don’t know where to input the _blank attribute

  **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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Safari/537.36

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

Link to the challenge:

You deleted your post

So sorry about that. what you have to do is to is to add a target attribute with _blank as its content to the attribute. so it should probably look like this:
opening a tag with href=“the link” target =“_blank”>cat photos (closing tag)
A cute orange cat lying on its back.

Thanks a lot. I ’ ve figured it out

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