JSFiddle - React, Tailwind, and code Playground

by ashfame

HTML

Always wrap the jQuery code with <pre>(function($){</pre> and <pre>})(jQuery);</pre>

CSS

pre {padding:2px 3px; background-color:#c0c0c0;display:inline;}

JavaScript

(function($){
    
    // Here is our original jQuery code
    $(document).ready(function(){
        // do stuff
    });
    
})(jQuery);