Creating a link

i want to change an image into a link, how may i do it. for instance<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

Just put <a> tags near it.
Example:

<a href="the-link.com"><img src="cup.jpg" /></a>