How to define/transfer the cognition.run code into html script so that it works on other platforms? #2557
-
Unfortunately, my institution does not support cognition.run so I need to transfer the experiment written directly on Cognition.run to another experiment running platform. But I'm having trouble with defining the experiment using HTML instead of Javascript only - and I am not even sure if that's all that needs to be done (is there some other part of the code on Cognition.run that communicates with cognition website maybe that also needs to be removed?). Note: I am (brand) new to jsPsych so I don't really know what the code structure works. The code was written by another PhD student that's not part of the project anymore, and it seems that he also wasn't familiar with jspsych prior to coding the experiment. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Usually, I save my cognition code into js file,
|
Beta Was this translation helpful? Give feedback.
Hi
you can check out the demo of jspsych 👍 https://www.jspsych.org/7.2/tutorials/hello-world/
Usually, I save my cognition code into js file,
and then I add this js file in the
<head>
of html