skip to Main Content

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.

enter image description here

It’s just a plain text, you could select it (like I did) and do whatever you want with it.

2

Answers


  1. console.log('  _    _      _ _       
     | |  | |    | | |      
     | |__| | ___| | | ___  
     |  __  |/ _  | |/ _  
     | |  | |  __/ | | (_) |
     |_|  |_|___|_|_|___/ 
                            
                            ');
                        
    
    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search