On one of the millions websites I noticed big word in the console written with symbols. Which lib is that or how to do that? Cuz I have no idea.
2
console.log(' _ _ _ _ | | | | | | | | |__| | ___| | | ___ | __ |/ _ | |/ _ | | | | __/ | | (_) | |_| |_|___|_|_|___/ ');
You have to use an ASCII generator, then wrap it using Template literals (Template strings), and then style it using CSS.
console.log(`%c .d888 d8b 888 d8b d88P" Y8P 888 Y8P 888 888 888888 888 888d888 .d88b. .d8888b 88888b. 888 88888b. 888 888 888P" d8P Y8b 88K 888 "88b 888 888 "88b 888 888 888 88888888 "Y8888b. 888 888 888 888 888 888 888 888 Y8b. X88 888 888 888 888 d88P 888 888 888 "Y8888 88888P' 888 888 888 88888P" 888 888 888 `,"font-family:monospace; color: orange;");
This may not work in Stack Snippet, but it should work locally.
Click here to cancel reply.
2
Answers
You have to use an ASCII generator, then wrap it using Template literals (Template strings), and then style it using CSS.
This may not work in Stack Snippet, but it should work locally.