Skip to content
/ Analog-CLock Public template

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

License

Notifications You must be signed in to change notification settings

iadrish/Analog-CLock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

Releases

No releases published

Packages

No packages published