JSFiddle - React, Tailwind, and code Playground
by RASMITA DASH
HTML
<div>
<ul id='ulItems'>
<li><label>Item #1</label></li>
<li><label>Item #2</label></li>
<li><label>Item #3</label></li>
</ul>
</div>
JavaScript
function Greet(event)
{
alert(event.data.name)
}
$('#ulItems li label').click(
{name: "Rasmita"},
Greet);