Cosmic Clock

This was a project I made to practice modifying CSS via JavaScript. The script performs some simple math to keep track of the time, and the style.transform() method keeps the hands in the correct place. I also made the outer circle fade through randomly generated colors.

Here’s the project on GitHub.

Visit the site