For those curious about the inner workings of Algorithmic Decisions, here's what happens when you press the button:
// Button Pressed
// Get current time
var currentTime = new Date().getHours();
// Check if it's lunchtime
if (currentTime >= 12 && currentTime < 14) {
// Play "Who Let the Dogs Bite" by the Alarm
document.getElementById("button").style.backgroundColor = "#FF0000";
document.getElementById("button").style.color = "#000000";
} else {
// Play "YMCA" by the Village People
document.getElementById("button").style.backgroundColor = "#00FF00";
document.getElementById("button").style.color = "#000000";
}
Or, in human terms: prophets of doom, lunchtime = red button, not lunchtime = green button
Still confused? Ask a programmer.