JSFiddle - React, Tailwind, and code Playground

HTML

<div id="test"> <p> _ </p> </div>

JavaScript

setInterval(function(){
    $('#test').toggle();
    
},500);