Skip to main content
Accessibility Feedback
The Vanilla JS Toolkit
Methods & APIs
Utilities
Libraries
Boilerplates
Learning
Search
The Viewport
window.innerHeight
Get the viewport height.
let
viewportHeight
=
window
.
innerHeight
;