How to implement this clock?

  • 0
    Now they practice in javascript, and decided to make an animated clock that should show the time like a normal one. Here's an example:
    It is necessary that every second the hand c moves, and passes the circle in 3600 seconds (1 hour). I want to draw a clock in svg format and control the movement of the arrow using js. Is it possible to do this and is there an easier alternative?
    JavaScript Anonymous, Nov 30, 2019

  • 2 Answers
  • 0
    On canvas js

    Google
    canvas clock example
    Anonymous

  • 0
    You can simply change the rotate () css property of the arrow elements with a script.
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!