JSFiddle - React, Tailwind, and code Playground

by Reigel Gallarde

HTML

<input type="radio" name="thisone" value="yes">

<span class="iamtext">hey ya'll, im some text</span>

JavaScript

$('[name=thisone]').click(function(){
   $('.iamtext').text(function(i,txt){
      return txt + ' and im epic';
   });
});