Skip to content

Commit 04597da

Browse files
authored
Update index.html
1 parent 414b655 commit 04597da

File tree

1 file changed

+42
-1
lines changed

1 file changed

+42
-1
lines changed

index.html

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,53 @@
4444
font-size: 12px;
4545
}
4646
</style>
47+
<!DOCTYPE html>
48+
<html lang="en">
49+
<head>
50+
<meta charset="UTF-8">
51+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
52+
<title>Real-Time UTC Clock</title>
53+
<style>
54+
body {
55+
font-family: Arial, sans-serif;
56+
text-align: center;
57+
margin-top: 50px;
58+
}
59+
.clock {
60+
font-size: 2em;
61+
font-weight: bold;
62+
color: #333;
63+
}
64+
</style>
4765
</head>
66+
67+
</html>
68+
4869
<body>
4970
<h1>The OFFICIAL UOR Foundation Homepage</h1>
5071
<p>The mission of the UOR Foundation is under development by the UOR CREATION COUNCIL.</p>
72+
73+
<h1>Greetings!</h1>
74+
75+
<h2>Real-Time UTC Clock</h2>
76+
<div class="clock" id="utcClock">Loading...</div>
77+
78+
<script>
79+
function updateUTCTime() {
80+
const now = new Date();
81+
// Format the UTC time
82+
const utcTime = now.toUTCString().split(" ")[4]; // Extract HH:MM:SS
83+
document.getElementById("utcClock").textContent = `UTC Time: ${utcTime}`;
84+
}
5185

52-
<h2>GREETINGS!</h2>
86+
// Update the clock every second
87+
setInterval(updateUTCTime, 1000);
88+
89+
// Initial update
90+
updateUTCTime();
91+
</script>
92+
93+
<h2>Links</h2>
5394
<nav>
5495
<a href="https://github.com/orgs/UOR-Foundation/repositories">UOR Repositories</a>
5596
<a href="https://drive.google.com/drive/folders/17DGUF1NwtplNFrb6IKD98Z2hFd8P10A-?usp=drive_link">The WEEKLY Slides</a>

0 commit comments

Comments
 (0)