From 96dd80896bb75f0d6689a9a1f01bfac0cda4046c Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sun, 11 Aug 2024 17:58:04 -0500 Subject: [PATCH] easter egg :3 --- index.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index cb539bb..57ab416 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - Caleb Fontenot's Web Server + Caleb Fontenot's Web Server @@ -58,7 +58,7 @@

About meCaleb

-

Hi! My name is Caleb Fontenot. I am a college graduate of South Louisiana Communitity College. I am also a software developer.
I love writing code! 😁

+

Hi! My name is Caleb Fontenot. I am a college graduate of South Louisiana Communitity College. I am also a software developer.
I love writing code! 😁

This site is hosted on a computer I built myself running Arch Linux and NGINX.

Pick a design!

@@ -81,8 +81,13 @@ if (inputText.includes("🏳️‍⚧️")) { inputText = "🏳️‍⚧️ Trans rights are human rights! 🏳️‍⚧️"; document.body.style.backgroundImage = "url(https://files.calebfontenot.com/blahaj-bl%C3%A5haj.gif)"; - console.log(document.getElementById("info").innerHTML); - document.getElementById("info").innerHTML = document.getElementById("info").innerHTML.replaceAll("Caleb", "Chloe"); + // change name :3 + let siteData = document.getElementsByClassName("info"); + console.log(siteData); + for (let i = 0; i < siteData.length; ++i) { + console.log(siteData[i]); + siteData[i].innerHTML = siteData[i].innerHTML.replace("Caleb", "Chloe"); + } } let designText; switch (value) { @@ -392,7 +397,7 @@