Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

47 lines (26 loc) · 1.02 KB

ANALOG CLOCK

A Responsive project using HTML-CSS -Vanilla JS to implement A simple Analog Clock

Screenshot 2023-01-06 185808

Acknowledgements

Authors

Deployment

To deploy this project run

  npm run deploy

Deployment is Live on: https://63b81578dfe0bf36df70dbe4--legendary-paletas-e109cb.netlify.app/

Documentation

FUNCTIONS used :

d= new Date();

htime=d.getHours();

mtime=d.getMinutes();

stime=d.getSeconds();

To calculate Degree of Rotation For Individual Hour Hand, Minute Hand & Second Hand

hrotation=30*htime+(mtime/2);

mrotation=6*mtime;

srotation=6*stime;