Hello World

Lets write some js code

Time to write some js code yourself!

There are two panels here: a text editor containing some javascript code and a console, or terminal, that shows output. When you run the code, you’ll see some text printed to the document.

document.write("Hello World!");

document.write() is a command that prints text to the current document. Whatever is in between the parentheses will be displayed to the document! In this case it’s Hello World!.

CODE