Skip to content

Commit

Permalink
Merge pull request #39 from vibgyor786/main
Browse files Browse the repository at this point in the history
updating clock js module for better readability .
  • Loading branch information
vibgyor786 authored Oct 11, 2022
2 parents 2b27b3d + bf74479 commit ff43fd5
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 ff43fd5

Please sign in to comment.