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