Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<body>
<div id="test"></div>
<script>
var window1 = window.innerWidth
document.documentElement.clientWidth
document.body.clientWidth;
var window2 = window.innerHeight
document.documentElement.clientHeight
document.body.clientHeight;
var x = document.getElementById("test");
x.innerHTML = "Browser inner window width: " + window1 + ", height: " + window2 + ".";
</script>
</body>
</html>
The most helpful JAVASCRIPT solutions
How can I get the last day and the next day in javascript ?JAVASCRIPT Click to see more ... 5.8K 507