You can write with document.write()
You can set alert with window.alert
You can print text with console.log() function