This commit is contained in:
KaseToatz1337
2024-04-26 14:16:24 +02:00
parent 92e1d3b0c0
commit ce58078280
4 changed files with 4 additions and 6 deletions

BIN
html/assets/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -45,14 +45,14 @@ window.onload = () => {
formData.append("naming", naming.value)
formData.append("name", name.value);
formData.append("amount", parseInt(amount.value));
text.value = "Flooding in progress...";
text.innerText = "Flooding in progress...";
text.style.color = "green";
var request = await fetch("/api/flood", {
method: "POST",
body: formData
})
response = await request.json();
text.value = response.message;
text.innerText = response.message;
if (response.type == "error")
{
text.style.color = "red";

View File

@ -4,7 +4,7 @@
<title>Kahoot Flooder</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet'>
<link rel="icon" href="assets/favicon.ico">
<link rel="stylesheet" href="assets/style.css">
<script type="text/javascript" src="assets/script.js"></script>
</head>