Clocks are of utmost importance on websites where time plays a large factor, e.g: booking websites, e-commerce, etc.
However, given JavaScript supports and lets us manipulate web pages in real-time, building clocks that show the current time in JavaScript has become quite straightforward.