You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
It is always good to provide the error message and your question with the code, please?
You did a good job of creating an link.
If you could do this around the text cat photos while it remains within the p element, and not adding anything other than the anchor that would be great.
Example:
<p>The dog catcher chased the big <a href="sample url">red dog</a> in the park.</p>
This would appear as
The dog catcher chased the big red dog in the park.
Here is a link to great guidance and examples on how to turn both text and images into links.