JSFiddle - React, Tailwind, and code Playground
by Kyle Pennell
HTML
<ul>
<li> whoah</li>
<li> heyo</li>
<li> howdy</li>
</ul>
<p>Open your console!</p>
JavaScript
$('ul').on('click','li', function(event) {
console.log(event.target.nodeName);
});