Added small JS gimmick

This commit is contained in:
Marcelina Szostak 2025-04-15 21:40:24 +02:00
parent 7ea0335e0f
commit 9d6e708c4a
Signed by: kapcioszek
GPG Key ID: 5B07EB46181A963B
2 changed files with 16 additions and 1 deletions

13
gimmick.js Normal file
View File

@ -0,0 +1,13 @@
const titles = [
"Free will is a myth",
"Religion is a joke",
"We are all pawns controlled by something greater",
"Memes, the DNA of a soul",
"Under the spreading chestnut tree...",
"Orthodoxy is uncounsciousness",
"Arrowheads arrowheads arrowheads arrowheads...",
"Also try Terraria",
"Praise the sun",
"There is no cloud, only somebody else's computer"
];
document.title = titles[Math.floor(Math.random() * titles.length)];

View File

@ -8,10 +8,12 @@
</head>
<body>
<script src="gimmick.js"></script>
<a href="https://www.twoplusgoo.de"><img src="resources/logo/page_logo.png" alt="logo" class="logotyp"/></a>
<br><br><br><br>
<div>
<p>Welcome to my personal website. I intend to share some music and art I make as well as my stream of consciousness in the form of blog posts, but we will see how it goes. This website is written in pure HTML + CSS by hand. I don't know if it looks good or bad, but I do it for fun anyway, so I don't want to be bothered by appealing to standards.</p>
<p>Welcome to my personal website. I intend to share some music and art I make as well as my stream of consciousness in the form of blog posts, but we will see how it goes. This website is written in pure HTML + CSS (and really small amount of JS for one silly gimmick) by hand. I don't know if it looks good or bad, but I do it for fun anyway, so I don't want to be bothered by appealing to standards.</p>
</div>
<footer class="stopka">