From 3a85d751c3338d5c5f2016153219b0826937575d Mon Sep 17 00:00:00 2001 From: Tracie Date: Wed, 30 Dec 2020 18:26:18 -0600 Subject: [PATCH] This commit fixes a spelling error in the drink-water project --- drink-water/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drink-water/script.js b/drink-water/script.js index c96d09d..dd87f77 100644 --- a/drink-water/script.js +++ b/drink-water/script.js @@ -1,5 +1,5 @@ const smallCups = document.querySelectorAll('.cup-small') -const listers = document.getElementById('liters') +const liters = document.getElementById('liters') const percentage = document.getElementById('percentage') const remained = document.getElementById('remained') @@ -44,6 +44,6 @@ function updateBigCup() { remained.style.height = 0 } else { remained.style.visibility = 'visible' - listers.innerText = `${2 - (250 * fullCups / 1000)}L` + liters.innerText = `${2 - (250 * fullCups / 1000)}L` } } \ No newline at end of file