dont say that that was the fucking problem

This commit is contained in:
Boof 2023-02-27 13:52:21 +01:00 committed by GitHub
parent 82fb0c2b45
commit 50fde675e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,10 @@
fetch(url, { method: 'DELETE' }) fetch(url, { method: 'DELETE' })
.then((response) => { .then((response) => {
if(response.ok) { if(response.ok) {
output.innerHTML = 'Delete successful'; output.innerHTML = 'Succesfully yeeted';
}
else {
output.innerHTML = 'Failed to yeet';
} }
}) })

View File

@ -4,8 +4,8 @@
} }
function docalc(){ function docalc(){
const num2 = document.getElementById("input2"); const num2 = document.getElementById("input2").value;
const num1 = document.getElementById("input1"); const num1 = document.getElementById("input1").value;
var calcu = percentage(num1, num2); var calcu = percentage(num1, num2);
//percentage(num1, num2) //percentage(num1, num2)