运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往空间
<!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>