Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.

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."> <href="https://freecatphotoapp.com" >
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 11; Infinix X693) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36

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

Link to the challenge:

I’ve been stuck on this step all day. I don’t know how to pass this step. Can someone help me out?

“Turn the image into a link by surrounding it with necessary element tags.”

This implies you will add a tag before and after the img. You’ve only added a tag after the img and you’ve added the href element tag which doesn’t exist.

Look at how you turned the words “cat photos” into a link. You did this by surrounding it with an opening and closing a tag. This is how you turn anything into a link. So do that to the img tag.