JS scroll values: document height, viewport height, scroll position
Total document height : document.documentElement.scrollHeight
Height the browser is showing (vh) : window.innerHeight
Scroll position : document.documentElement.scrollTop
Scroll position / (total document height - height the browser is showing)
- #JS scroll info