js write html code example
Example 1: how to print a line in javascript
console.log("Your line would be here")//Prints a line on the console
alert("Your message here")//Raises an alert
Example 2: javascript print
console.log("Who's Joe?")
Example 3: how to right text with js
document.write("text");
Example 4: how to write in js
document.write("put your text here!");