diff --git a/README.md b/README.md new file mode 100644 index 0000000..ea532db Binary files /dev/null and b/README.md differ diff --git a/app.js b/app.js index 8dc1167..b180ece 100644 --- a/app.js +++ b/app.js @@ -10,9 +10,9 @@ for (let i = 0; i < itemQty.length; i++) { itemQty[i].innerText-- cartTotal.innerText--; } - }) + }); addBtn[i].addEventListener("click", () => { itemQty[i].innerText++ cartTotal.innerText++; - }) + }); } \ No newline at end of file diff --git a/index.html b/index.html index 3c3d6e1..2fccba3 100644 --- a/index.html +++ b/index.html @@ -22,14 +22,14 @@ integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"> - Document + Add To Cart App

Total items:

- + 0