JSFiddle - React, Tailwind, and code Playground

HTML

<form id='form-id'>
    <input id='watch-me' name='test' type='radio' value="a" />Show Div
    <br />
    <input name='test' type='radio' value="b" />
    <br />
    <input name='test' type='radio' value="c" />
</form>
<div id='show-me' style='display:none'>Hello</div>

JavaScript

$("input[name='test']").click(function () {
    $('#show-me').css('display', ($(this).val() === 'a') ? 'block':'none');
});