Mistakes on Pavlovia in loops

@elizabeth_sokolenko, you need to remove the $ from your nReps field in the loop, as the $ sign is being written to the JS and causing the Reference Error. As the nReps field already uses a dollar sign by default, you do not need to use one as well, but I have raised an issue to get this fixed in cases where users do enter a $: