JSFiddle - React, Tailwind, and code Playground

by David Thomas

HTML

<input value="a" />
<input value="b" />
<input value="c" />

CSS

input {
    display: block;
}

JavaScript

$('input:text:nth-child(3)').appendTo($('input:text:nth-child(1)').parent());