gctGenerator/site/.vuepress/public/april.js

8 lines
181 B
JavaScript
Raw Normal View History

2021-03-31 22:51:59 +02:00
window.addEventListener('DOMContentLoaded', () => {
const now = new Date();
2021-04-01 00:01:21 +02:00
if (now.getMonth() === 3 && now.getDate() === 1) {
2021-03-31 22:51:59 +02:00
document.body.classList.add('fool');
}
});