From d8ed4e1d9258780b662a0198475d5ec57a9739c6 Mon Sep 17 00:00:00 2001 From: manishgourpsl Date: Fri, 9 Sep 2022 16:46:29 +0530 Subject: [PATCH] Update index.js Code was incorrect. Updated it with correct syntax --- 1. Build a Passenger Counter App/28. Congrats & recap/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1. Build a Passenger Counter App/28. Congrats & recap/index.js b/1. Build a Passenger Counter App/28. Congrats & recap/index.js index 0b6476cf..6783d065 100644 --- a/1. Build a Passenger Counter App/28. Congrats & recap/index.js +++ b/1. Build a Passenger Counter App/28. Congrats & recap/index.js @@ -9,7 +9,7 @@ function increment() { function save() { let countStr = count + " - " - saveEl.textContenttStr + saveEl.textContent += countStr countEl.textContent = 0 count = 0 }