JSFiddle - React, Tailwind, and code Playground

HTML

<header>
  <script
  src="https://code.jquery.com/jquery-3.2.1.min.js"
  integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
  crossorigin="anonymous"></script>
</header>
<body>

<input type="radio" name="colors" value="500" id="myRadio">500$
<input type="radio" name="colors" value="1000" id="myRadio">1000$
<p>Chon radio de hien thi text</p>


<p id="p-demo"></p>



</body>

JavaScript

$(function() {
  $("input[type=radio]").change(function () {
      $("#p-demo").html($(this).val());
  });	
})