/css-js-clock

Clock made using CSS and vanilla JavaScript

Primary LanguageHTML

css-js-clock

Clock made using CSS and vanilla JavaScript

Learned how to use Date() to extract the hours, minutes, and seconds and transform clock hands via CSS based on those values.

*clock still has a wonky movement at the 360deg mark as it resets. May come back and work on removing this.

(JavaScript30 by Wes Bos)