Why I'm not able to enter into if statement?if (document.body.scrollHeight == document.body.scrollTop + window.innerHeight){ ale | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Why I'm not able to enter into if statement?if (document.body.scrollHeight == document.body.scrollTop + window.innerHeight){ ale

if (document.body.scrollHeight == document.body.scrollTop + window.innerHeight){ alert(""); }

4th Apr 2021, 7:25 AM
Prafull Epili
Prafull Epili - avatar
1 Antwort
+ 1
if statement works when the expression is true
11th Apr 2021, 1:07 PM
Khumoyun
Khumoyun - avatar