How can i on/off this fan by switch by hovering effect? | SoloLearn: Learn to code for FREE!

0

How can i on/off this fan by switch by hovering effect?

Switch is not working! https://code.sololearn.com/WVPjFNpKEt50/?ref=app

5/24/2020 10:04:37 AM

KILLER.CODER

3 Answers

New Answer

+1

I only used hover in JS so can't help with CSS usage.

0

A mouse is required for hover to respond correctly.

0

I have a mouse and this design is for pc! I just need a method to play animation by on off switch on hover.