When I click on a button, an svg animation needs to start?

Hello,from Bulgaria,i have a problem which bugs me really hard,i have a img tag with an svg in it and,i tried with a pseudo class active in css, to show that svg animation after i click on a button but it doesnt work,i dont know much JS but i would like to do it with it ,so it wont`t brake in other browsers.Please help if you had have the same issue…
Here is my code:

<button id="click">welcome</button>

<div class="me-first"
<img src="pic/me-there.svg>
</div>

Where is the animation defined? Is it defined inside the SVG file? Or are you trying to animate the image element?