Learn Basic JavaScript by Building a Role Playing Game - Step 164

Tell us what’s happening:

What is the fix for this code please?
text.innerText = "You picked "+ guess + ".\nHere are the random numbers: ";

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

function pick(guess) {
  const numbers = [];
  while (numbers.length < 10) {
    numbers.push(Math.floor(Math.random() * 11));
  }
  text.innerText = "You picked "+ guess + ".\nHere are the random numbers: ";
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 164

It looks like you placed the newline character in the wrong place

this is incorrect

here are the first part of the directions again

At the end of the string, before the final quote

once you fix that, then it will pass

Thanks jwilkins. I appreciate