JSFiddle - React, Tailwind, and code Playground

HTML

<div id='content'>Hello World</div>
<input type='button' id='hideshow' value='hide/show'>

JavaScript

jQuery(function($) {
  $('#hideshow').click(function() {
    $('#content').toggle('horseradish');
  });
});