JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

setInterval(function(){
     $("#test p").toggle();
},300);