From bf744797d659201c40fc2d483f89700e183bee08 Mon Sep 17 00:00:00 2001 From: Ganesh sahu <74828322+vibgyor786@users.noreply.github.com> Date: Tue, 11 Oct 2022 17:24:48 +0530 Subject: [PATCH] updating clock js module for better readability . --- clock/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clock/app.js b/clock/app.js index 62a867f..68fca50 100644 --- a/clock/app.js +++ b/clock/app.js @@ -1,7 +1,9 @@ +//dom selector for getting required components const hourHand = document.querySelector(".hand-hour"); const minuteHand = document.querySelector(".hand-minute"); const secondHand = document.querySelector(".hand-seconds"); +// fetching current time from local machine function getTime() { const now = new Date();