Skip to content

This repo demonstrates an Analog Clock using javascript and css

License

Notifications You must be signed in to change notification settings

H3li0/js-css-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analog Clock created using CSS and JavaScript

This code simulates a simple Analog Clock using JavaScript and CSS

Learning points:

  • How to use the Date class
  • Calculate seconds, minutes and hours for clock rotation
  • Use of the rotate method
  • How to use the transform css class for rotation
  • How to use the setInterval method for calling a method every second

About

This repo demonstrates an Analog Clock using javascript and css

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published