space->space-old, homepage written with picocss
This commit is contained in:
parent
b1769ade0c
commit
fa88138bc2
37 changed files with 544 additions and 48 deletions
6
js/script.js
Normal file
6
js/script.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
addEventListener('load', () => {
|
||||
const birthday = new Date(2009, 6, 13, 13, 30)
|
||||
const delta = new Date() - birthday
|
||||
const age = delta / (1000 * 3600 * 24 * 365.25)
|
||||
document.getElementById('age').innerText = Math.floor(age)
|
||||
})
|
Loading…
Add table
Reference in a new issue