JSFiddle - React, Tailwind, and code Playground

HTML

<input type="radio" name="first" value="yes" id="firstradio">
<input type="radio" name="first" value="no" id="secondradio"> 

<label class="changeme">Initial text goes here and is happy</label>

JavaScript

$('input[type=radio]').change(function(evt) {
    $('.changeme').html($(this).val());
});