Update snippet descriptions & tags
This commit is contained in:
@ -3,7 +3,7 @@ title: colorize
|
||||
tags: node,string,intermediate
|
||||
---
|
||||
|
||||
Add special characters to text to print in color in the console (combined with `console.log()`).
|
||||
Adds special characters to text to print in color in the console (combined with `console.log()`).
|
||||
|
||||
- Use template literals and special characters to add the appropriate color code to the string output.
|
||||
- For background colors, add a special character that resets the background color at the end of the string.
|
||||
|
||||
Reference in New Issue
Block a user