add style to console.log code example
Example 1: console.log with color font
console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");
Example 2: console log style
console.log("%cThis is a green text", "color:green");