get resolution of screen js 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)
window.screen.height;
window.screen.width;
alert("Your screen resolution is: " + screen.width + "x" + screen.height)