From e56108c65c81308ac6e32c3a0cd4f1d37c51a22e Mon Sep 17 00:00:00 2001 From: Mobarak Ali Date: Sat, 10 May 2025 12:53:50 +0600 Subject: [PATCH] added text 'Total' which was omitted after calculating the value of totalPrice --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index f6fdfc93..ae794dbd 100644 --- a/script.js +++ b/script.js @@ -15,5 +15,5 @@ button.addEventListener("click", () => { totalPrice += productPrice; // update UI - total.innerText = `৳ ${totalPrice}`; + total.innerText = `Total: ৳ ${totalPrice}`; });