JSFiddle - React, Tailwind, and code Playground
HTML
<input type="number" id="number"/>
<table id="result"><tr><th>Event</th><th>Value</th></tr></table>
CSS
table {border:1px solid black; width:200px; margin-top:1em;}
th {font-weight:bold;}
JavaScript
$("#number").change(function(event) {
$("#result").append("<tr><td>" + event.type + "</td><td>" + $(this).val() + "</td></tr>");
});