<!DOCTYPE html>
<html>
<body>
<h1>The Window Screen Object</h1>
<h2>The width Property</h2>
<p id="demo"></p>
<script>
let width = screen.width;
document.getElementById("demo").innerHTML = width + "px";
</script>
</body>
</html>