have height of the window code example Example: get window size javascript const window { width: window.innerWidth, height: window.innerHeight }