find the dimension of the 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)