Adding CSS To console.log()

Make your console colorful

Jacob Bergdahl
JavaScript in Plain English
4 min readJun 7, 2021

--

Screenshot of styled console.log() messages taken in the Brave web browser. Image by the author.

Every web developer is familiar with the console.log() function, which is often used for debugging values during development. Since it’s usually only used as a mere debugging tool, you may not be aware of the fact that console.log() actually offers some extensive features, such as styling.

--

--