HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body onresize="myFunction()"> <p>Resize the output window using resize handling bar between editor and output window.</p> <p>InnerWidth: <span id="point"></span></p> <script> var x = document.getElementById("point"); function myFunction(){ x.innerHTML = window.innerWidth; } </script> </body> </html>
OUTPUT
×

Save as Private