JSFiddle - React, Tailwind, and code Playground

HTML

<body>
<p>This is a paragraph.</p>
<button>click me</button>
</body>

JavaScript

$(document).ready(function(){
  $("button").click(function(){
    $("p").html('hello world');
  });
});