Using CSS and JavaScript to Randomize Background Images
I was working on a website and wanted to add a fun bit of flair by having the background rotate through a batch of images. So every time the website loaded it would have a different image. I did a little research, but none of the solutions were all that great. So I coded up…