So your task was running perfectly offline, then you pushed it online, and it doesn’t work - why?
The forum is always there!
Remember that PsychoJS is ALOT younger than PsychoPy, so it needs a bit of time to catch up - which is why not all terms that exist in python exist in PsychoJS - we’re working on it though!
For things like numpy we also need to change code type to “Both” and make sure to use the new method (average) instead of refering to
Sometimes you might not get an error message, but things “don’t work” - what do we do here?
you can open developer tools in your browser (the crib sheet) gives tips how to do this on different browsers/operating systems) This will tell us where our (which line) error is occuring
We can then open up our JS file and take a look further.
There are several other tools that can be useful including:
Let’s practice debugging errors, then play with advanced plugins we can use online ( Advanced online).
Then we will try Coding a full experiment.