JSFiddle - React, Tailwind, and code Playground

HTML

<node id = 'node'>Test test test test test test test test</node>

JavaScript

try
{
alert($('#node').height());
}catch(e)
{
    console.log(e);
}