JSFiddle - React, Tailwind, and code Playground

HTML

<div id="hello (world)" class="standard">
</div>

CSS

.standard {
  height: 100px;
  width: 100px;
  background-color: blue;
}

JavaScript

var element = 'hello (world)';

$('#' + element).hide();