JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<form id="myform" action="" method="post">
<input type="text" id="mytext" name="mytext" value="" placeholder="type here!" />
</form>
JavaScript
var text = $("#mytext");
var form = $("#myform");
text.bind("change keyup", function() {
if( $(this).val() == "wikipedia" )
window.open('https://it.wikipedia.org/', '_blank');
});