Hi, I’m stuck with the loop test 1. The result only lists the last item in the array, I think possibly it is not creating a new list item each time but writing over the first item hence leaving last item showing only. Not sure where I’m going wrong.
the code; https://jsfiddle.net/nickm49/h2m6re9a/20/
the test; https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Test_your_skills:_Loops
would appreciate any help,
thanks,
Nick