I\'ve been following some tutorials on how to randomize an image by setting up an array in Javascript. It\'s not working - the image itself is not appearing, not even any e
You forgot a ) in your if statement and on your document.write you missed ' and closing the tag. Check here:
)
'
if (rnd == 0) { rnd = 1; } document.write('');