javascript match screen size code example Example: get the size of the screen javascript window.screen.height; window.screen.width;