JSFiddle - React, Tailwind, and code Playground

HTML

<div id="divtoBlink" ></div>

CSS

#divtoBlink{
 width:100px;
 height:20px;
 background-color:#627BAE;
}

JavaScript

setInterval(function(){
  $("#divtoBlink").css("background-color","red");
  },100)