1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Style console.log messages with CSS

    chrome-devtoolsChrome DevTools

    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.