js console log with color
console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');
js console log with color
console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');
js console.log color
console.log('%c My txt ', 'My css');
// Example
console.log('%c Hello world ', 'background: #222; color: #bada55');
how to change the color of a console.log in javascript
// Download the npm package "colors"
// npm i colors
var colors = require("colors");
console.log("Hello World".blue);
// output: Hello World (Its blue btw lmao)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us