Title says it all really, I've followed every tutorial I could find but my alert() never gets run. I have no idea what I'm doing wrong.
var right = document.getElementById("right-container");
right.animate({
backgroundColor: '#fff'
}, {
duration: 550,
complete: function () {
alert('hello')
}
});`
Here's a simple fiddle to show the issue I am facing: https://jsfiddle.net/5shwn8r1/