+ 1
How can I make the animation occur only when the user clicks the blink button?
3 ответов
+ 3
Just make a css blink class and add blink class event function:
Check out the code
https://code.sololearn.com/WreQ9ipYinhP/?ref=app
+ 2
thank you
+ 1
You will probably have to do it in javascript using an event listener:
window.addEventListener("click", function(event) {
// change cell color here
})