JSFiddle - React, Tailwind, and code Playground
HTML
<input type="radio" value="one" checked name="number" />One
<input type="radio" value="two" name="number" />two
<input type="radio" value="three" name="number" />three
<br/>
<input type="radio" checked value="onea" name="numbers" />one A
<input type="radio" value="twoa" name="numbers" />two A
<div class="first">First</div>
<div class="second">second</div>
<div class="third">third</div>
JavaScript
$(document).ready(function () {
$(".second,.third").hide();
$('input[type="radio"]').change(function () {
if ($(this).val() === 'onea' || 'twoa') {
$(".first").show();
}
});
});