JSFiddle - React, Tailwind, and code Playground

by Tony Brix

HTML

<button id="table">table</button>
<button id="block">block</button>
<button id="none">none</button>
<table><tbody><tr><td>table</td></tr></tbody></table>

CSS

table{
       display: none;
}

JavaScript

$("#table").click(function(){
    $("table").css({display: "table"});
});
$("#block").click(function(){
    $("table").css({display: "block"});
});
$("#none").click(function(){
    $("table").css({display: "none"});
});