JSFiddle - React, Tailwind, and code Playground
HTML
Yes <input type="radio" name="article" value="1" checked >
No <input type="radio" name="article" value="0">
<div id="send_to_yes">
<b>Number</b> <br><input type="text" name="number"><br><br>
</div>
JavaScript
$(document).ready(function() {
$("input:radio[name=\'article\']").change(function() {
if(this.value == '1' && this.checked){
$("#send_to_yes").show();
}
else {
$("#send_to_yes").hide();
}
});
});