js screen width shows smaller size code example
Example 1: js know size of screen
alert("Your screen resolution is: " + screen.width + "x" + screen.height)
Example 2: device width js
window.screen.availWidth
alert("Your screen resolution is: " + screen.width + "x" + screen.height)
window.screen.availWidth