DEV Community

Discussion on: Fun with console.log() 💿

Collapse
 
j471n profile image
Jatin Sharma

This is cool no cap. However, How many people really use conosle.log like that?

P.S. - I was talking about colorful console.log not the other methods of console like warn, error and so on.

Collapse
 
foxonthe1 profile image
Fox Scarlett

Make certain stuff stand out etc

Collapse
 
lissy93 profile image
Alicia Sykes

There's not many real-world uses for that one, I must admit. It's often used as part of a fun Easter egg, or to highlight something important for devs.

For example, if you go to facebook.com, and open the console, you'll see:

Image description

Or if you search "Text Adventure" in Google, you'll get a well formatted text-game
Image description

Collapse
 
j471n profile image
Jatin Sharma

This was fun😂 and I didn't know about the Facebook one.

There's not many real-world uses for that one, I must admit.

That was my whole point.