Learn HTML by Building a Cat Photo App - Step 15

I have looked everywhere to see what is wrong with this. I need to turn the img into a link and I’ve looked at the forum and got nothing… help

      <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 herf="https://freecatphotoapp.com.com"
     img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."</a> 

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 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:

First, do not change anything with the img tag. You might want to restart the step to get back the original HTML.

The only thing you should do is add opening and closing a tags around the img tag to turn it into a link. And the attribute name on the opening a tag is href, not herf.

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