JSFiddle - React, Tailwind, and code Playground

by Steven Senkus

HTML

<input type="text" id="input" /><br />
<div id="content"></div>

JavaScript

$('#input').on('input', function(e) {
    console.log('input event', e.target.value);
    $('#content').text(e.target.value);
    
})