JSFiddle - React, Tailwind, and code Playground
JavaScript
$(document).on("keydown", function(event){
console.log("Control: " + event.ctrlKey);
});
$(document).on("keydown", function(event){
console.log("Control: " + event.ctrlKey);
});