let text = "Total width/height: " + screen.width + "*" + screen.height + "
" +
"Available width/height: " + screen.availWidth + "*" + screen.availHeight + "
" +
"Color depth: " + screen.colorDepth + "
" +
"Color resolution: " + screen.pixelDepth;
document.getElementById("demo").innerHTML = text;