-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlae.html
More file actions
24 lines (20 loc) · 696 Bytes
/
lae.html
File metadata and controls
24 lines (20 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<head>
<title>Days since the last time we have cuddle with eachother</title>
<link href="lae.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 id="days-since"></h1>
<script>
const targetDate = new Date('2025-04-23'); // Replace with your desired date
const now = new Date();
const diff = Math.floor((now - targetDate) / (1000 * 60 * 60 * 24));
document.getElementById('days-since').textContent = `It has been ${diff} days since the last time we have cuddled together...`;
</script>
<h3>Maybe it's time we do that again ;)</h3>
<footer>
<p>*When we are on a date or do something without friends</p>
</footer>
</body>
</html>