Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 476 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 476 Bytes

Working-Fan

Tutorial link of this

screenshot

In this tutorial, I have made a working fan using javascript.

On clicking the power button the fan blades will rotate in clockwise direction until you do not off the button.

And there is also a fast mode button which rotate fan-blades with increasing speed.

Topics covered in this tutorial :--

  • addEventListener()
  • Toggle between class.
  • How to make animation.