Learn HTML by Building a Cat Photo App - Step 15

Yes I knew both those, but I still dont know how to fit the href attribute into it the right way.

A link’s text must be placed between the opening and closing tags of an anchor (a) element. For example, <a href="https://www.freecodecamp.org">click here to go to freeCodeCamp.org</a> is a link with the text click here to go to freeCodeCamp.org.

So this makes me think that I need to do it:

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

This should work


I really struggled with this Step too. Thank you for this! needed to add for closing. I took a break then came back. It’s hard but I find it quite interesting. Needed to practice more.