JSFiddle - React, Tailwind, and code Playground

HTML

<input type="button" value="Run">
  <button>Toggle fx</button>
  <div></div>

CSS

div {
      width: 50px;
      height: 30px;
      margin: 5px;
      float: left;
      background: green;
    }

JavaScript

var toggleFx = function() {
     $.fx.off = !$.fx.off;
    };
    toggleFx();
    $( "button" ).click( toggleFx );
    $( "input" ).click(function() {
        $( "div" ).toggle( "slow" );
    });