print in html with js code example
Example 1: how to code print in javascript
console.log("print")
//or
alert("Print")
Example 2: print in javascript
console.log("text you want to log")
console.log("print")
//or
alert("Print")
console.log("text you want to log")