how to measure the size of the screen on jaascript code example
Example 1: get the size of the screen javascript
window.screen.height;
window.screen.width;
Example 2: js know size of screen
alert("Your screen resolution is: " + screen.width + "x" + screen.height)