Skip to content

Simple analog clock created using HTML, CSS, and Vanilla JS. Two different designs (basic only CSS without marks and numbers; advanced with marks based on SVG).

License

Notifications You must be signed in to change notification settings

Alice-Rez/analog-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analog Clock

Explore Live demo

Simple analog clock created using HTML, CSS and Vanilla JS. Two different designs:

  1. basic without marks and numbers - created using only CSS
  2. advanced with marks - created using SVG

The SVG-based design (𝜋-clock) functions also as a helper for conversion between radians and degrees (the position of the hand is showing angle between it and y-axis in radians 😊).

Function used for displaying time is universal for both clocks, difference is just in the given parameters.

Used technologies: Vanilla JS, DOM, DOM Manipulation, CSS, SVG, HTML

About

Simple analog clock created using HTML, CSS, and Vanilla JS. Two different designs (basic only CSS without marks and numbers; advanced with marks based on SVG).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published