easter egg :3
This commit is contained in:
parent
25a8b94004
commit
96dd80896b
15
index.html
15
index.html
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Caleb Fontenot's Web Server</title>
|
||||
<title class=info>Caleb Fontenot's Web Server</title>
|
||||
<link rel="icon" type="image/x-icon" href="Caleb_face.jpg">
|
||||
<link rel="icon" href="Caleb_face.jpg" type="image/jpeg" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
@ -58,7 +58,7 @@
|
||||
</nav>
|
||||
|
||||
<h2 class="aboutme">About me<img class="aboutme" src="Caleb.jpg" alt="Caleb" height="5%" width="5%"></h2>
|
||||
<p id="info">Hi! My name is <mark>Caleb Fontenot.</mark> I am a college graduate of South Louisiana Communitity College. I am also a software developer. <br> I love writing code! 😁</p>
|
||||
<p class="info">Hi! My name is <mark>Caleb Fontenot.</mark> I am a college graduate of South Louisiana Communitity College. I am also a software developer. <br> I love writing code! 😁</p>
|
||||
<p>This site is hosted on a computer I built myself running Arch Linux and NGINX.</p>
|
||||
<p>Pick a design!</p>
|
||||
<div id="selectDesign">
|
||||
@ -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 @@
|
||||
|
||||
|
||||
<footer>
|
||||
<a href=https://gitea.calebfontenot.com/CCF_100/frontpage class=button>Caleb Fontenot, 2023</a>
|
||||
<a href=https://gitea.calebfontenot.com/CCF_100/frontpage class="button info">Caleb Fontenot, 2024</a>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user