gctGenerator/docs/april.js
2023-10-16 17:40:28 +09:00

7 lines
181 B
JavaScript

window.addEventListener('DOMContentLoaded', () => {
const now = new Date();
if (now.getMonth() === 3 && now.getDate() === 1) {
document.body.classList.add('fool');
}
});