JSFiddle - React, Tailwind, and code Playground

HTML

<div class="wrap">
  <img src="http://ogorod-moscow.narod.ru/listvennie/allei.jpg" alt="" id="img-1" class="img">
  <img src="https://terri0729.files.wordpress.com/2012/07/google-a-mc-random-261.jpg" alt="" id="img-2" class="img img-2">
</div>

CSS

.wrap{
  width: 400px;
  height: 400px;
}
.img{
  width: 100%;
}
.img-2{
  display: none;
}

JavaScript

var firstImg   = $('#img-1'),
		secondImg   = $('#img-2');

setTimeout(function(){
		firstImg.fadeOut(1000);
    secondImg.delay(1100).fadeIn(1000);

}, 3000)