Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ms7ru authored Nov 30, 2024
1 parent ab815be commit 51e5c43
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions clock/script.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>World Time</title>
</head>
<body>
<div>
<p id="date"></p>
<p id="clock"></p>
</div>
<script>
let lastTime = null;
let lastTime = null;

// Update the date
function updateDate() {
Expand Down Expand Up @@ -67,6 +54,3 @@

// Initialize the clock on page load
window.onload = updateTime;
</script>
</body>
</html>

0 comments on commit 51e5c43

Please sign in to comment.