JSFiddle - React, Tailwind, and code Playground

by fkling

HTML

<p>Foobar</p>

JavaScript

alert($('p:first')[0].nodeName)
alert($('p:first')[0].firstChild.nodeName)