JSFiddle - React, Tailwind, and code Playground

HTML

<label for="a1" class="radiostyle">
    <input type="radio" name="1" value="100" id="a1" /> 100 bucks
</label>

CSS

.radiostyle {
    background-color: #999;
}

.newbg {
    background-color: #ccc;
}

JavaScript

$("#a1").click(function() {
  $(this).parent().addClass('newbg');
});