brebory
-
Random background image javascript help
You have a couple of issues with your code. First of all, with codepen, you don't need to put the javascript inside of tags. Secondly, to call a function, you need to use the function call operator, i.e. (). So, your window.onload = Randomize …