Skip to content

Commit 2c58d25

Browse files
committed
Update index.html
1 parent 8c19e95 commit 2c58d25

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/landing/win10/index.html

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,8 @@
77
<link rel="stylesheet" href="/css/home.css">
88
<main>
99
<div>
10-
<h1>Windows 10 support ends in</h1>
11-
<h2 id="amount">X days</h2>
10+
<h1>RIP Windows 10</h1>
1211
</div>
1312
</main>
1413
<script>
15-
let rn = new Date(); // Current date
16-
let target = new Date("2025-10-14") // Day of death
17-
18-
console.log(target)
19-
20-
let differ = target.getTime() - rn.getTime();
21-
22-
differ = Math.round(differ / (1000 * 3600 * 24));
23-
24-
document.getElementById("amount").textContent = differ + " days";
2514
</script>

0 commit comments

Comments
 (0)