JSFiddle - React, Tailwind, and code Playground

by Ansel Santosa

HTML

<table id="table">
    <tr>
        <td>some content</td>
    </tr>    
    <tr>
        <td>more content</td>
    </tr>
</table>

JavaScript

var table = document.getElementById('table');
    alert(table.style.height);