Keypress Test

by isuru_nan

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<input type="text" id="textbox">

<p id="paragraph"></p>

JavaScript

let alphebet = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];


console.log(alphabet);

/* alphabet.forEach(display);


    $('#textbox').val(obj);
function display(obj) {
    $('#paragraph').append(obj);
} */