1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-09 14:51:30 +01:00
.profile/curriculum-vitae/scripts/main.js

6 lines
165 B
JavaScript
Raw Normal View History

import { BIRTH_DATE, getAge } from "../../utils/getAge.ts"
2022-11-29 10:29:02 +01:00
const yearOld = document.getElementById("year-old")
2022-11-29 10:29:02 +01:00
yearOld.textContent = getAge(BIRTH_DATE).toString()