make hacker effect accessible

the plain word doesn't make any sense if JavaScript is disabled. the
additional effect still works even if the original word is what it's
supposed to be.
This commit is contained in:
Valentin Gagarin 2024-07-03 13:31:04 +02:00 committed by Luis Hebendanz
parent 345216fcb4
commit 6591d73f7c
2 changed files with 4 additions and 4 deletions

View File

@ -35,4 +35,4 @@ document.querySelector("span").onmouseover = event => hacker_effect(event.target
let target = document.querySelector("span");
hacker_effect(target);
}, delay);
};
};

View File

@ -36,9 +36,9 @@
<!-- Header -->
<div id="header">
<img src="static/logo/clan-white.png" alt="Clan White" id="clan-logo">
<img src="static/logo/clan-white.png" alt="Clan logo" id="clan-logo">
<h1>Build your own
<span data-value="DARKNET" class="hacker-effect">TDERKAN</span>
<span data-value="DARKNET" class="hacker-effect">DARKNET</span>
</h1>
</div>
@ -111,4 +111,4 @@
</body>
</html>
</html>