Skip to content

Commit

Permalink
updating clock js module for better readability .
Browse files Browse the repository at this point in the history
  • Loading branch information
vibgyor786 authored Oct 11, 2022
1 parent 2b27b3d commit bf74479
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clock/app.js
Original file line number Diff line number Diff line change
@@ -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();

Expand Down

0 comments on commit bf74479

Please sign in to comment.