<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
var keyPressed = event.originalEvent.code;
if(keyPressed == 'KeyZ'){
location.replace("https://classroom.google.com");
}
</script>
When clicking the Z key, nothing happens, however when I try it on a different project. The link is avackgames.xyz