windowinnerHeight
window.innerHeight is a read-only property of the Window interface that returns the height, in pixels, of the window’s layout viewport. In practice, this represents the visible height of the page content area inside the browser window, including the horizontal scrollbar if present. It does not include the browser chrome outside the content area, such as the system UI or device chrome.
The value updates as the window changes size and can be used to adapt layouts or implement
window.addEventListener('resize', function() {
});
Note that on mobile devices the value can change when browser chrome (such as the address bar
Compatibility: window.innerHeight is supported by all modern browsers. It may be unavailable in very old browsers