animation issue

Hey, i'd like a button that when pressed plays an animation on another element. What i have works however i can only play the animation once, when i press the button again it doesn't play. Why is this? Thanks in advance.

https://codepen.io/deerCabin/pen/qBzbqJK
Was this page helpful?