Dismiss
  • Toggle Theme
  • View as Mobile

Style console.log statements

This snippet will allow you to alter the style of the output of console.log statements.

Great for recruitment and warning users against copy/pasting malicious javascript into their browsers.

Use with restraint. =)

console.log("%cThis text will be huge!", "font-size:44px")