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
I have difficulties in turning the image into a link

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" <a target="freecatphotoapp"href="https://freecatphotoapp.com" alt="A cute orange cat lying on its back."></a>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

Welcome to the FCC Forum!

Turning anything, images or text, into links requires placing the opening anchor immediately before the item we wish to anchor, and the closing anchor tag after the last part of the item we wish to anchor.

Example: < a href=“url”> pictures of cats and dogs < /a>

Here I would be turning the ‘pictures of cats and dogs’ into a link. The anchor is immediately before the pictures and ends after the dogs.

Here is an example from your previous code:

I hope this helps you.

Happy coding! :slight_smile: