JSFiddle - React, Tailwind, and code Playground

by zachshallbetter

HTML

<div id="container">
</div>
<div id="container">
</div>

CSS

#container {
    width: 50px;
    height: 50px;
    background: black;
}

JavaScript

(function fader() {
    setInterval(function(){ $("#container").fadeToggle(); }, 100);
})();