In this website, if the letter entered is a new line, a new line would be returned, I have this like as follows
if (character === '\n'){
   element = document.createElement('br');
I tried adding var before, or even changing the single quotations to double, what is wrong with it?
Thank you in advance
 
    