JSFiddle - React, Tailwind, and code Playground

HTML

<html>
 <head>
  <script src="../jquery.js" type="text/javascript"> </script>
  <script type="text/javascript">
    $(document).ready(function() {

     $(".demo").click(function() {
    alert("JavaScript Demo");
  });
      
    });
  </script>
 </head>
 <body>
  <p class="demo">a paragraph</p>
 </body>
</html>