Stage 14 cat app. Adding anchor to image

How do I add anchor element to the image please? This is frying my brain.

  **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.">
  </main>
</body>
</html>
  **Your browser information:**

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

Challenge: Step 14

Link to the challenge:

just put an a tag before the img tag , it is basically the same as the other a anchor you wrote just instead of wrapping text you’re wrapping the img tag

1 Like

i don’t know what that means

is there someplace i can see what it should look like?

finally got it after a pot of coffee and a pack of smokes. JESUS!

Still cant get it mate, could you show us please

here you go: a href=“#”></a

Thank you mate! Sorted

4 posts were merged into an existing topic: Cat Photo App - Step 14