Instructor: Here, we have a console.log that is printing a message saying that this message is important. What we would like to do is to ensure that whoever opens the console -- for instance, by accident -- is going to read this very important message.
One way we can do that is to add CSS to our console message. To do that, we need to add %c to our message.
Also, this console.log is going to actually take two arguments. The first one is the message. The second one is the CSS that you want to apply to our console message.
For instance, we can change the color of this text to light blue. We can see the result of it here, as well as increase the font size. I'm going to put font size at 36 pixels. It's going to be very big and it's hard to miss it.
We can also specify a background. If I were to do background black, it's also going to be applied.
As well, it's possible to change the font family. I'm going to make this text a bit more fancy, like this.
Also, it's possible to apply text shadows to the text. If I were to do text shadow, three pixels, three pixels, three pixels, white, this is the result.
To recap, if you would like to use CSS in console.log, you need to add %c to your message, which is the first argument of the console.log. The second one is going to be a string specifying what kind of CSS would then apply to your message.