More UI
This commit is contained in:
parent
a7cea3b13a
commit
43bcfac938
2 changed files with 8 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue