diff --git a/pages/cart.html b/pages/cart.html index 66610e1..bc97ba9 100644 --- a/pages/cart.html +++ b/pages/cart.html @@ -99,6 +99,8 @@

Your Cart window.location.href = "checkout.html" }) + + let data = JSON.parse(localStorage.getItem(`cart`)) document.getElementById(`noofitem`).innerHTML = data.length