Created
May 9, 2013 23:18
-
-
Save alimd/5551345 to your computer and use it in GitHub Desktop.
Console log trick !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(var i=0;i<20;i++) console.log('%c Hello !','padding:3px;color:hsl('+(Math.random()*360)+',50%,50%);font-size:'+(i*3+16)+'px;font-weight:bold'); |
+1
NICE
+2
wow! Very Nice +3
:D
inam test konid bahale!
for(var i=0;i<20;i++) console.log('%c Mampel !','padding:3px;color:hsl('+(Math.random()*360)+',50%,50%);font-size:'+(i*3+16)+'px;font-weight:bold');
man ke kheili hal kardam! :)) goftam shayad shoma ha ham hal konid! ;)
dustam daram ino :)
๐
Dava nakonin, ino bezanin
var name=prompt('Enter your name','Ali.MD');for(var i=0;i<20;i++) console.log('%c '+name+' !','padding:3px;color:hsl('+(Math.random()*360)+',50%,50%);font-size:'+(i*3+16)+'px;font-weight:bold');
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very nice trick