JSFiddle - React, Tailwind, and code Playground

by Fu-Ching Hsiao

HTML

<input type="text" id="input"/><span></span>

JavaScript

$('#input').on('keyup',function(){
	$('span').text($(this).val());
});