How can i on/off this fan by switch by hovering effect?
Switch is not working! https://code.sololearn.com/WVPjFNpKEt50/?ref=app
I only used hover in JS so can't help with CSS usage.
A mouse is required for hover to respond correctly.
I have a mouse and this design is for pc! I just need a method to play animation by on off switch on hover.