DEV Community

Discussion on: Javascript: 5 cool things you can do with console that aren't console.log

Collapse
 
perpetual_education profile image
perpetual . education

There's the color options too!

console.log('%c thing one! ', 'color: red');
console.log('%c thing green! ' + '%c thing blue! ', 'color: green', 'color: blue');

We use these for little hidden messages for sneaky developers... ; )