JSFiddle - React, Tailwind, and code Playground

by Alexandru Gatea

HTML

<input type="text" val="" id="input">
<p></p>

JavaScript

$('#input').on('change keyup paste', function(){
	$('p').text($('#input').val());
});