remove location

master
xwashere 2024-07-13 00:53:17 -04:00
parent a10b63c332
commit acb292e73b
Signed by: XWasHere
GPG Key ID: 042F8BFA1B0EF93B
1 changed files with 1 additions and 14 deletions

View File

@ -24,18 +24,12 @@
<body>
<main>
<div id='c'>Soon</div>
<div id='l'>Earth</div>
<!-- <div id='d'>Unknown, Return later</div> -->
</main>
<script>
function go() {
const reckoning = Date.parse("2025-08-17T00:00:00.000Z");
const data = [
[ "Seattle, Washington, United States of America" ]
];
const date = Date.parse("2025-08-17T00:00:00.000Z");
const countdown = document.getElementById('c');
const location = document.getElementById('l');
function updateCountdown() {
let p = "";
@ -59,13 +53,6 @@
countdown.textContent = p.substring(0, p.length - 1);
}
function updateLocation() {
let area = data[Math.floor(Math.random() * data.length)];
location.textContent = area[0];
}
updateLocation();
updateCountdown();
setInterval(updateCountdown, 1000);