This commit is contained in:
2021-12-03 16:19:26 +01:00
parent a15a7ba576
commit 16cd2f79cd
3 changed files with 2 additions and 5 deletions

View File

@@ -1,6 +1,3 @@
// let buttoncalc = document.getElementById("calculate")
// buttoncalc.addEventListener("click", calculate)
const calcForm = document.getElementById('calculator') // const ist hier besser als let, da immutable
calcForm.addEventListener('submit', calculate)