how to print in new line in javascript code example
Example 1: new line in js
document.write("\n");
//second method for html page
document.write("<br>");
Example 2: 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