JSFiddle - React, Tailwind, and code Playground

HTML

<div id="secretContent">1</div>
<div id="seemore">Hidden</div>

JavaScript

if ( $("#secretContent").html().toString().length < 1) {
    $("#seemore").hide();
}