Last active
October 17, 2016 01:12
-
-
Save shamdasani/91e7e6e42260a90e1cae45d910276696 to your computer and use it in GitHub Desktop.
setbackground function
This file contains 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 setBackground() { | |
var bgColor = getColor(); | |
document.body.style.background = bgColor; | |
} | |
setBackground() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment