Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Ive worked over 2 hours on this and I feel like giving up (which I probably shouldnt) someone on this forum said that the <´p> element might be confused, but I dont get it?

   **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 cat photos</a>.</p>
<a href="https://freecatphotoapp.com">
     <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
  </main>
 </body>
</html>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:

Your closing anchor tag comes before your opening anchor tag. That can’t be right.

Your opening anchor tag needs to be before the anchor text ‘cat photos’

<p><a>Click here to view more cat photos</a>.</p>
 <a href="https://freecatphotoapp.com">

Is this correct then?
It still doesnt pass.

I get the hint:
Your anchor (a ) element does not have an href attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names.

You added a brand new opening anchor tag with no attributes. That won’t work.

You need to move the opening anchor tag you already have so that ONLY the text ‘cat photos’ is in between the opening and closing anchor tags.