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