psychopy.org | Reference | Downloads | Github

Pavlovia piloting error

if categorizationpracticekey.corr:
msg=‘Correct’
else:
msg=‘Wrong’

Description of the problem: I’m trying to convert my code above to JS because when I try to pilot my experiment on Pavlovia, I keep on getting an error saying that “msg is not defined”. Please help!! thanks

Try adding msg=’’ to the Begin Experiment section.