JSFiddle - React, Tailwind, and code Playground
by boushley
HTML
<table>
<tr id="theRow"><td></td></tr>
</table>
<div id="theDiv"></div>
<span id="theSpan"></div>
<div id="onScreen"></div>
JavaScript
$('#onScreen').append("<p>Created TR: " + $('<tr></tr>').css('display') + "</p>");
$('#onScreen').append("<p>Selected TR: " + $('#theRow').css('display') + "</p>");
$('#onScreen').append("<p>Created DIV: " + $('<div></div>').css('display') + "</p>");
$('#onScreen').append("<p>Selected DIV: " + $('#theDiv').css('display') + "</p>");
$('#onScreen').append("<p>Created SPAN: " + $('<span></span>').css('display') + "</p>");
$('#onScreen').append("<p>Selected SPAN: " + $('#theSpan').css('display') + "</p>");