JSFiddle - React, Tailwind, and code Playground

by tonyleeper

HTML

<input type="text" id="my-input" />

JavaScript

var input = document.getElementById('my-input');

input.addEventListener('input', function (event) {
	console.log('input event fired');
}, false);