Your window height is not returning expected value, because you are not setting any DOCTYPE:
<!DOCTYPE html>
SEE
1
solved Scroll Function working in reverse order [closed]
Your window height is not returning expected value, because you are not setting any DOCTYPE:
<!DOCTYPE html>
SEE
1
solved Scroll Function working in reverse order [closed]