Created
October 24, 2017 12:07
-
-
Save BackEndTea/d0db1e5a6d2a1ab8c40c23cf05677d75 to your computer and use it in GitHub Desktop.
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
| function getRandomColor(){for(var o="#",n=0;n<6;n++)o+="0123456789ABCDEF"[Math.floor(16*Math.random())];return o}function setColor(){document.body.style.backgroundColor=getRandomColor()}document.body.innerHTML="",setInterval(setColor,0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment