Tell us what’s happening:
what is wrong here ?
function pick(guess) {
let numbers = [];
while (numbers.length < 10) {
numbers.push(Math.floor(Math.random() * 11));
text.innerText+="You picked "+guess+". Here are the random numbers:";
}
}
Console Output:
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 165