Use JavaScript to Change Text

This example writes "Hello JavaScript!" into an HTML element with id="demo":

The window size is 1280 x 720