Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
Use JavaScript to Change Text
This example writes "Hello JavaScript!" into an HTML element with id="demo":