Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
githubAmanKumar authored Mar 3, 2024
1 parent 697318b commit 10748fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 07_project3/chaiaurcode.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const clock = document.getElementById('clock')

setInterval(function () {
let date = new Date();
// console.log(date.toLocaleTimeString());
clock.innerHTML = date.toLocaleTimeString();
}, 1000)

0 comments on commit 10748fb

Please sign in to comment.