VIEW MORE ARTICLES
Rinas Writes

January 18, 2022

TIL how to colour console logs
We can change the colour of log in console like this:

console.log('%c hey red text', 'color: red')
console.log('%c hey green text', 'color: green')

Screenshot of developer console