JSFiddle - React, Tailwind, and code Playground

by Addy Osmani

HTML

<img id="Image1"src="http://www.nba.com/media/celtics/new_gameball300.jpg"/>

JavaScript

$("#Image1").fadeOut("slow", function(){ 
$("#Image1").attr("src", "http://www.football-shirts.co.uk/images/0809/euro2008ball.jpg");         $("#Image1").fadeIn("slow"); 
});