add images n stuff

This commit is contained in:
2025-08-14 20:03:04 -07:00
parent f26ad6b276
commit 165579bed6
11 changed files with 7 additions and 0 deletions

7
lulu.js Normal file
View File

@@ -0,0 +1,7 @@
const $ = (id) => document.getElementById(id);
$("title-img").src = `images/ted${Math.ceil(Math.random() * 3)}.jpg`;
document.querySelectorAll("img.media").forEach((item) => {
item.addEventListener("click", () => {
item.requestFullscreen();
});
});