JSFiddle - React, Tailwind, and code Playground

HTML

<form action="?" method="get">
    <input type="text" name="id" value="1.4.3 will not make this red" />
</form>
<form action="?" method="get">
    <input type="text" name="sid" value="foobar" />
</form>

JavaScript

$('form').find('input').css('background', 'red');