JSFiddle - React, Tailwind, and code Playground
HTML
<input class="modified" type="text"/>
<p id="p1"></p>
JavaScript
$("input.modified").change(function(){
$('#p1').html('test');
//$(this).css("visibility","hidden");
});