Ejercicio-1
Ejercicio 1:
Censored Keyboard: program a text field (an input tag) where the letters Q, W, and X cannot be typed into.
<input type="text">
<script>
var field = document.querySelector("input");
field.addEventListener("keydown", function(event) {
if (event.keyCode == "Q".charCodeAt(0) ||
event.keyCode == "W".charCodeAt(0) ||
event.keyCode == "X".charCodeAt(0))
event.preventDefault();
});
</script>