JSFiddle - React, Tailwind, and code Playground

by ajthomascouk

HTML

<p>Alex Thomas</p>

JavaScript

(function(jQuery){
    $(document).ready(function() {
       $(document).bind('keydown', function(e) {
        if(e.keyCode==66){
          // do stuff
          e.stopPropagation();
          e.preventDefault();
        }
      });
    });
})( jQuery );