JSFiddle - React, Tailwind, and code Playground
by dhoerster
HTML
<button id='theButton'>Click me</button>
<ul id='thelist'>
</ul>
JavaScript
$(document).ready(function(){
$('#theButton').click(function(e){
e.preventDefault();
$("<li>hello</li>").appendTo('#thelist');
});
$('li').live('hover', function(e){
$(this).css('background-color', 'Red');
});
});