JSFiddle - React, Tailwind, and code Playground
by vonDy2791
HTML
<span>sample</span>
<input type="button" id="show" value="show" />
JavaScript
$('#show').on('click',function(){
$('span').fadeIn('slow');
});
$('span').on('click',function(){
$(this).stop().fadeOut('slow');
});