JSFiddle - React, Tailwind, and code Playground
by GaryC123
HTML
<form>
<input type=text>
<input type=text>
<input type="submit">
<textarea></textarea>
</form>
JavaScript
$("input[type='text']").keypress(function(e){
if(e.keyCode==13){
e.preventDefault()
}
})