Fix non corrispondenza id campo "note" su funzione di handle del form

This commit is contained in:
2025-12-04 09:12:36 +01:00
parent ca08a3ced9
commit d66cf4483b

View File

@@ -119,7 +119,7 @@ function handleAddPizza(event){
const nome = document.getElementById("name").value; const nome = document.getElementById("name").value;
const prezzo = document.getElementById("price").value; const prezzo = document.getElementById("price").value;
const note = document.getElementById("notes").value; const note = document.getElementById("note").value;
addPizza(nome, prezzo, note); addPizza(nome, prezzo, note);
} }