const randomLetters = [`q`, `w`, `e`, `r`, `w`, `y`];
document.onkeydown = function (e) {
const key = e.key.toLowerCase();
const firstLatter = randomLetters.shift();
if (key === firstLatter) {
console.log('=');
} else {
console.log('no');
}
};