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 thing is: appendChild() will append new elements, but will move existing elements. Since the <li> was created outside, it was just “moved” to the same position every round.