JSFiddle - React, Tailwind, and code Playground
HTML
<ul>
<li><input type="text"/></li>
</ul>
<a href="#">new</a>
JavaScript
$('a').click(function(){
var children = $("ul li:first").clone();
$("ul li:last").after(children);
});
$('input').on("keyup", function(){
$(this).css({'background':'yellow'});
});