JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<th>Delete</th>
<th> Element</th>
</tr>
<tr>
<td id='no'>
X
</td>
<td>Example</td>
</tr>
</table>
<br>
<button>
More
</button>
JavaScript
$(document).ready(function(){
$('button').click(function(){
$('table').append("<tr><td id='no'>X</td><td>Example</td></tr>")
});
$('tr').on('click', '#no', function(){
$(this).closest('tr').remove();
});
});