Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js console.log color

console.log('%c My txt ', 'My css');

// Example
console.log('%c Hello world ', 'background: #222; color: #bada55');
 
PREVIOUS NEXT
Tagged: #js #color
ADD COMMENT
Topic
Name
1+9 =