This commit is contained in:
Bianca Fürstenau 2025-02-15 20:42:22 +01:00
parent a7cea3b13a
commit 43bcfac938
2 changed files with 8 additions and 4 deletions

View file

@ -31,7 +31,11 @@ async function increment(el) {
}
async function inventory() {
alert("Hi!");
const form = document.querySelector("#cafe-inventory form");
const fd = new FormData(form);
for (let item of fd) {
alert(item);
}
}
async function swap(s) {