JSFiddle - React, Tailwind, and code Playground

by Afzaal Ahmad Zeeshan

HTML

<script src="https://code.jquery.com/jquery-3.0.0.min.js"></script>
<body>
    <p id="landing"></p>
</body>

JavaScript

$(document).ready(function () {
    $('body').keydown(function () {
        if(window.event.altKey == true && window.event.keyCode == 65) {
            document.getElementById("landing").innerText = "Alt + A pressed.";
        } else {
            document.getElementById("landing").innerText = "Alt + A combination not made.";
        }
    });
});