I'm not sure if I have the <a> element in the correct place

I’m not sure if I have the (a) element in the correct place but the instructions wasn’t clear. Can someone please advise if I completely put it in the wrong spot or if I am close.

  **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 target="_blank" 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."> <a href="https://freecatphotoapp.com"</a>
  </main>
</body>
</html>
  **Your browser information:**

Challenge: Step 14

Link to the challenge:

Not quite. You want to surround the image element with the anchor tags. Right now you have both anchor tags after the image element. Whatever you put inside of the anchor tags will become a link on the page.

Ok. I tried it this way and it still didn’t quite work out for me. Should I change the hyperlink to https://freecatphotoapp.com?

<a>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> href="https://freecatphotoapp.com"
    </a>

Yes, the instructions say to make the link go to https://freecatphotoapp.com so that’s what you should do. And it looks like that is what you tried to do, except you added the href attribute as plain text after the <img> instead of adding it as an attribute to the <a>.

Ok. I figured it out. Thank you so much!