JSFiddle - React, Tailwind, and code Playground
HTML
<input id="boo"/>
<div id="result">initial value</div>
JavaScript
$("#boo").keyup(function(){
var theValue = $("#boo").val();
if(theValue === "Exempt" || theValue === "exempt"){
$("#result").html("YAY");
}else{
$("#result").html("You Suck");
};
});