Learn HTML by Building a Cat Photo App - Step 15

so i was figuring out why my code i put which is “a href” with an anchor above the img src it still doesnt work but i can click on the picture and the link works but it keeps saying that my code is wrong which in the hint it says that i should only add one opening anchor (a) tag Please remove any extras. (same with the code a href=“the target link” with closing and opening tags). and it confuses me a lot because i cannot figure out why a code …a simple code doesnt work.

pls review my code here:

<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>   
      <a href>
      <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>

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

Link to the challenge:

Look at how you turned the words “cat photos” in the p element into a link. You did that by wrapping those words in opening and closing a tags. That’s how you turn anything into a link. So do the same for the img.