diff --git a/script.js b/script.js new file mode 100644 index 0000000..cdee13a --- /dev/null +++ b/script.js @@ -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); +});