JSFiddle - React, Tailwind, and code Playground

by imobilazer

HTML

<textarea id="text1"></textarea>
<br />
<div id="text2"></div>

JavaScript

$("#text1").keyup(function(){
$("#text2").text($("#text1").val())
})