JSFiddle - React, Tailwind, and code Playground

HTML

Add another director <input type="checkbox" id="isAgeSelected"/>
<div style="display:none" id="autoUpdate" class="autoUpdate">
Button
</div>

JavaScript

$(document).ready(function(){
$('#isAgeSelected').change(function(){
if(this.checked)
$('#autoUpdate').fadeIn('slow');
else
$('#autoUpdate').fadeOut('slow');

});
});