JSFiddle - React, Tailwind, and code Playground
by WK_of_Angmar
HTML
<input type="text" id="textInput">
JavaScript
document.getElementById("textInput").onkeyup = function() {
var textValue = document.getElementById("textInput").value;
alert(textValue);
}