Detect the start and end of CSS animations with JavaScript

Iā€™d love to hear what you think about this post. Let me know in the comments.