Learn HTML by Building a Cat Photo App - Step 15

Got Stuck !!!

Turning the cat image into a link, by surrounding it with necessary element tags
Just cannot go further

      <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 -->

    <a ref="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.">

<!-- 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:

There are a few issues. Your closing main needs to go after the end of the user editable region. Also its href you just have ref.

You also need to close the anchor tag using this </a>

Welcome to the community. It is good that you know the community is a good place to receive and provide help.
The answer has already been provided to you. Happy coding.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.