JSFiddle - React, Tailwind, and code Playground

HTML

<div class="records_content">Hello world</div>

JavaScript

alert('123');
$(".records_content").empty();