Why is this not creating a newline?
node.textContent = "You lost!\n";
node.textContent += input.textContent + " loses to " + convertNumber(computerSelection);
I want a new line to be created after the "You lost!" part. Any help?
Why is this not creating a newline?
node.textContent = "You lost!\n";
node.textContent += input.textContent + " loses to " + convertNumber(computerSelection);
I want a new line to be created after the "You lost!" part. Any help?
` work for you? – bloodyKnuckles Jul 06 '22 at 20:13
** – imvain2 Jul 06 '22 at 20:14