Skip to main content Accessibility Feedback

The Viewport

window.innerHeight

Get the viewport height.

let viewportHeight = window.innerHeight;