console.log()

Background

What was this console.log() summary about? Don’t remember.

If I’m not mistaken this was something that I learned about two years ago. Here is the code:

var cssOptions = 
    "color: rgb(249, 162, 34);" +
    "font-size: 60px;" +
    "font-weight: bold;" +
    "text-shadow: 1px 1px 5px rgb(249, 162, 34);" +
    "filter: dropshadow(color=rgb(249, 162, 34), offx=1, offy=1);";


for (var i = 1; i < 11; i++) {
  console.log(`%cPuto el que lo lea${i}`, cssOptions);
}

If you guys want to know more about JavaScript, please feel free to click here. Bye bye 🙂

If you want to know more about Web Development with NodeJS, take a look into this book:

Discover more from Kevin Uriel Fonseca

Subscribe now to keep reading and get access to the full archive.

Continue Reading

Back to Top