Add script.js

This commit is contained in:
2026-01-24 07:28:00 +00:00
parent 3869a69a19
commit 0962cffc56

8
script.js Normal file
View File

@@ -0,0 +1,8 @@
// Optional: Add light fade-in effect
window.addEventListener("DOMContentLoaded", () => {
document.querySelector(".content").style.opacity = 0;
setTimeout(() => {
document.querySelector(".content").style.transition = "opacity 1s ease";
document.querySelector(".content").style.opacity = 1;
}, 100);
});