JSFiddle - React, Tailwind, and code Playground
by kabichill
HTML
<input type="text" id="shift"/>
JavaScript
$('#shift').keydown(function (e) {
if (e.shiftKey) {
alert('You cannot press the Shift Key')
e.preventDefault();
}
});