JSFiddle - React, Tailwind, and code Playground
by Neal
HTML
<div id="screameria">
<input />
</div>
JavaScript
$( '#screameria input' ).keyup(function(){
var scream = this.value;
if ( scream.charAt( 0 ) == '/' ) {
alert( 'Boom!' );
}
})