plz give the solution where to put \n in this code
here is the code:
function pick(guess) {
const numbers = ;
while (numbers.length < 10) {
numbers.push(Math.floor(Math.random() * 11));
}
text.innerText = "You picked " + guess + ā.\n Here are the random numbers:ā;
}
Following the insruction it should be at end of :
2 Likes
text.innerText = "You picked " + guess + ā. Here are the random numbers:\nā;