how to write a javascript code example Example: how to write in js document.write("put your text here!");