Adding link to image

Step 14- Cat App
I am supposed to add a link to the image & I feel like I followed the directions and have searched for other web sources to show me the correct way the code should look and it matches what I have below. Can someone show me something I am not seeing?

  **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>
  <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36 Edg/102.0.1245.33

Challenge: Step 14

Link to the challenge:

Hi!
You’ve missed the closing tag on the img element.

Other than that, the code is correct, add it and the code should pass.

Omg the simplest mistake lol thank you so much!

1 Like