URL of experiment:
Description of the problem:
Dear all,
In my experiment I have to generate random numbers from 0 to 100. I used Math.floor(Math.random() * 100) to generate the numbers. I want to save the numbers that were generated. In Python version on my computer I used thisExp.addData(“result”, result) and in online version I used psychoJS.experiment.addData(‘result’, result), where result is the randomly generated number. The version on my computer works and saves the numbers, but the online one doesn’t. Do you know how can I fix this?
Below I attached the Psychopy file.
third.psyexp (9.4 KB)