Hi all,
Quick question, I’m trying to use jQuery to fade in a new background every time the new quote button is pressed on my random quote app project. I can’t seem to get it to work however. The background is changing fine when I use:
$("#app").css("background-color", color);
And the code I’m replacing this with is:
$("#app").animate({backgroundColor: color}, 1000);
https://codepen.io/jamiegaskell89/pen/LYyOrGN
It’s probably something simple I’m missing.
Cheers!