Hello! Ive tried several spacing variations to no avail. Please help!
I keep receiving the “spacing matters” error.
Many thanks!
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+ " . Here 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/127.0.0.0 Safari/537.36
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 165
I updated my code to the below, and still giving the same error. Im not sure if you were hinting at adding a space after the guess? I also added the . to the 2nd string. thank you
text.innerText = "You picked " + guess + ". Here are the random numbers:";