Annoying JavaScript Functions

A quick little JavaScript to cycle through an array of hex colors. Installs an interval function to change the background color every second. // Variables // install an interval function update_colors() and run it every 1000 milliseconds (once a second) var closeInterval = window.setInterval(update_colors, 1000); // global variable to control where we are in the […]