Style console.log messages with CSS

Share this video with your friends

Send Tweet

Sometimes we'd like to ensure that some console.log are really visible one someone opens dev tools window. For instance, we could want to warn our less tech-savvy users that they shouldn't paste anything someone else send them to console, because their account might get stolen.

In this lesson we are going to learn how to style console.log messages with CSS properties so we can make our messages stand out from the crowd.

avalsoff
avalsoff
~ 5 years ago

Lol, nice. Teammates will be shocked