Skip to content

A simple analog clock built using vanilla JavaScript. 🕦

Notifications You must be signed in to change notification settings

ooanishoo/clock-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analog Clock

Click here for a demo 👀

2023-07-11 at 9 33 pm

This is a simple analog clock implemented using HTML, CSS, and Vanilla JavaScript. The clock displays the current time with hour, minute, and second hands.

Motivation:

In the age of powerful frameworks and libraries, it's easy to overlook the beauty and simplicity of Vanilla JavaScript. Sometimes, it's important to take a step back and revisit the foundational concepts that underpin our everyday work. By creating this analog clock, I was able to refresh my understanding of basic  HTML, CSS, and JavaScript concepts.

Usage:

To use the analog clock in your project, follow these steps:

  1. Download or clone this repository to your local machine.
  2. Open the index.html file in a web browser.
  3. Voila! The analog clock should now be displayed on the page, showing the current time.

Feel free to explore the code and make modifications according to your needs. Experiment with different styles and customize the clock to fit your project's requirements.

License

This project is licensed under the MIT License. You are free to modify, distribute, and use the code for personal and commercial purposes.

Support Me

If you like my work, you can support me by buying me a coffee. I would really appreciate it!