JSFiddle - React, Tailwind, and code Playground

HTML

<div id="test">
    
    jQuery. Write less, do more.
    
</div>

JavaScript

//Test with no explicit height set.

var myHeight=$("#test").css("height"); 
alert(myHeight);