console.alert code example
Example 1: javascript print
document.write("Hello world");
Example 2: how to alert in javascript
alert("Message")
Example 3: print in javascript
console.log("")
document.write("Hello world");
alert("Message")
console.log("")