JSFiddle - React, Tailwind, and code Playground

HTML

<html> <head> <style></style> 
    
<style id="foo"> 
    
    .hi {

    display:none;

} </style>
    
    <div class="hi">hello</div>

JavaScript

//comment out to enable foo again
$('#foo').remove();