JSFiddle - React, Tailwind, and code Playground

HTML

<input value="2" type="radio"/>
<input value="1" type="text"/>

JavaScript

$('input:radio[value=2]').hide();
$('input[value=1]').css('background','green');