From 3d8ccdd3d6a68f4247cbfd2785b5f50e12d389a5 Mon Sep 17 00:00:00 2001 From: Ayman Alexan Rezk Date: Sun, 23 Jan 2022 10:46:11 +0200 Subject: [PATCH] Update index.js textContent += countStr instead of textContentStr --- 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 }