JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
<head>
<style>
div { margin:3px; width:50px; height:50px; background-color:red; }
</style>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<button id="out">Fade Out</button>
<button id="in">Fade In</button>
<div></div>
<script>
$("button#out").click(function () {
$("div").fadeOut(100);
});
$("button#in").click(function () {
$("div").fadeIn();
});
</script>

</body>
</html>