JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" id="textbox" onchange="updateTable()" />
<table></table>
JavaScript
function updateTable()
{
var text = $('#textbox').val();
text = text.replace(/</g,'<').replace(/>/g,'>');
$('table').append('<tr><td style="padding:0px 12px;color:black">'+text+'</td></tr>');
}