0

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?

0 Answers0