A Responsive project using HTML-CSS -Vanilla JS to implement A simple Analog Clock
To deploy this project run
npm run deploy
Deployment is Live on: https://63b81578dfe0bf36df70dbe4--legendary-paletas-e109cb.netlify.app/
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;