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:
parent
345216fcb4
commit
6591d73f7c
@ -35,4 +35,4 @@ document.querySelector("span").onmouseover = event => hacker_effect(event.target
|
||||
let target = document.querySelector("span");
|
||||
hacker_effect(target);
|
||||
}, delay);
|
||||
};
|
||||
};
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user