Merge pull request #33 from hexahigh/dev

Dev
This commit is contained in:
Boof 2022-12-16 13:37:03 +01:00 committed by GitHub
commit d407be3f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 17 deletions

View File

@ -1,16 +0,0 @@
while (true) {
fetch('https://t0m0t0w.github.io/favicon.png')
.then(response => response.text())
.then(data => {
// Do something with the data
console.log(data);
// Delete the file from the cache
caches.delete('https://t0m0t0w.github.io/favicon.png');
}, 1000);
}
setInterval(() => {
console.clear();
}, 1);

View File

@ -17,6 +17,9 @@
krydderText.innerHTML = "krydder";
krydderText.className = "krydder-text";
var audio = new Audio('krydder.mp3');
audio.play();
// Set a random font size for the text
var fontSize = Math.floor(Math.random() * 50) + 10;
krydderText.style.fontSize = fontSize + "px";
@ -38,7 +41,6 @@
setInterval(addKrydder, 1000);
</script>
<script src="dlhermann.js"></script>
</head>
<body>
<div id="krydder-container"></div>

BIN
Games/Krydder/krydder.mp3 Normal file

Binary file not shown.