JSFiddle - React, Tailwind, and code Playground

HTML

<input id="Text1" type="text"  />
<input id="Text2" type="text" />
<input id="Text3" type="text" />

JavaScript

$('input').keypress(function(e) {
    if (e.which == 13) {
        $(this).next('input').focus();
        e.preventDefault();
    }
});