JSFiddle - React, Tailwind, and code Playground
HTML
<div id="container" class="some-class"></div>
CSS
.some-class {
border: 1px solid;
width: 500px;
height: 100px;
padding: 10px;
}
JavaScript
$(document).ready(function() {
var height = $("#container").height();
alert(height);
});