JSFiddle - React, Tailwind, and code Playground

JavaScript

/* Ejemplo cambiando el color del fondo
 *
 * Autor: fitorec
 * inspirado en http://buzz.jaysalvat.com/demo/
 * CĂłdigo basado en: http://jsfiddle.net/YNYtc/1/
 */
$(document).ready(function(){
    colors = ['#FFB30C', '#58EC00', '#0087EC', '#EEEEEE', '#FF5A00' ]
    var i = 0;
    animate_loop = function() {
            $('body').animate({backgroundColor:colors[(i++)%colors.length]
            }, 500, function(){
                        animate_loop();
            });
    }
    animate_loop();
});