HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <p>Click to find window length</p> <button onclick="myFunction()">Window Length</button> <p id="point"></p> <h2>Learn CSS</h2> <iframe src="/css"></iframe> <h2>Learn jQuery</h2> <iframe src="/jquery"></iframe> <script> var x = document.getElementById("point"); function myFunction(){ x.innerHTML = window.length; } </script> </body> </html>
OUTPUT
×

Save as Private