Skip to content

Instantly share code, notes, and snippets.

@AliMD
Created May 9, 2013 23:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AliMD/5551345 to your computer and use it in GitHub Desktop.
Save AliMD/5551345 to your computer and use it in GitHub Desktop.
Console log trick !
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');
@seyedi
Copy link

seyedi commented May 10, 2013

Very nice trick

@koorosh13hm
Copy link

+1

@AliGH
Copy link

AliGH commented May 11, 2013

NICE
+2

@Mrshcom
Copy link

Mrshcom commented May 11, 2013

wow! Very Nice +3
:D

@Mrshcom
Copy link

Mrshcom commented May 11, 2013

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! ;)

@omidgharib
Copy link

dustam daram ino :)

@paskamari
Copy link

👍

@dante1357
Copy link

@Mrshcom na eshteba neveshti! :P in doroste! :D
for(var i=0;i<20;i++) console.log('%c Dante1357!','padding:3px;color:hsl('+(Math.random()_360)+',50%,50%);font-size:'+(i_3+16)+'px;font-weight:bold');
@AliMD 👍 :)

@AliMD
Copy link
Author

AliMD commented May 21, 2013

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