$('.green').click(function() { $('.timer').css('background', 'green'); }); $('.red').click(function() { $('.timer').css('background', 'red'); });
$('.green').click(function() { $('.timer').css('background', 'green'); }); $('.red').click(function() { $('.timer').css('background', 'red'); });