I think I did it right, but would still appreciate any insight.
Regads
I think I did it right, but would still appreciate any insight.
Regads
Hi @od507 and welcome to the community 
Congratulations, your code works as expected! 
You can even simplify your textContent to just one line:
items.textContent = myArray[j];
Reasons:
+=.<li>s are block elements. They break the line automatically. Also, \n don’t work in HTML directly. They get converted to just a space character.I hope that helps. 
Michael