JSFiddle - React, Tailwind, and code Playground

HTML

<div id="target" style="width=50px;height=50px;"></div>

JavaScript

$('#target').keypress(function(){
     var code = (e.keyCode ? e.keyCode : e.which);
     //if(code == 21) // write your preferable keycodes here
     {
         $('<link/>').attr({
             rel:'stylesheet',
             type:'text/css',
             href:'sewmuchcss.css'}).appendTo('head');
         $.getScript('sewmuchjs.js');
     }
})