diff --git a/script.js b/script.js index cac5891..f04edde 100644 --- a/script.js +++ b/script.js @@ -1,9 +1,9 @@ -let animateName = "animated pulse" -let animationend = "webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd" -let animatedClass = ".title" +let animateName = "animated pulse"; +let animationend = "webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd"; +let animatedClass = ".title"; $(animatedClass).mouseenter(function(event){ $(this).addClass(animateName); }); $(animatedClass).on(animationend, function(event) { $(this).removeClass(animateName); -}); \ No newline at end of file +});