Console.log() and CSS together? - Kevin Uriel Fonseca
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 🙂
SIDEBAR