Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h2>My Heading</h2> <p>Play around with the code and click on the "Run" button to view the result.</p> <p id="demo"></p> <script> let x = 5; let y = 6; let z = x + y; document.getElementById("demo").innerHTML = "The value of z is: " + z; </script> </body> </html>