From 9d6e708c4a5f6d6c2e6e163599808eaa6389fc7f Mon Sep 17 00:00:00 2001 From: Marcelina Szostak Date: Tue, 15 Apr 2025 21:40:24 +0200 Subject: [PATCH] Added small JS gimmick --- gimmick.js | 13 +++++++++++++ index.html | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 gimmick.js diff --git a/gimmick.js b/gimmick.js new file mode 100644 index 0000000..d2d4b4b --- /dev/null +++ b/gimmick.js @@ -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)]; diff --git a/index.html b/index.html index 346fa2e..45433f1 100644 --- a/index.html +++ b/index.html @@ -8,10 +8,12 @@ + + logo



-

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.

+

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.