jsPsych Tutorial
About this tutorial
About jsPsych
Structure of this book
1
Basic Javascript
1.1
What is JavaScript
1.1.1
Text editor and integrated development environment (IDE)
1.1.2
The HTML skeleton
1.1.3
The console
1.2
var, and const
1.2.1
var
1.2.2
const
1.3
Comments
1.4
Arrays
1.5
Objects
1.6
Functions
1.7
Booleans and comparisons
1.8
Conditional statements
1.8.1
If, else, else if
1.8.2
Switch
1.9
Conclusion
2
The jsPsych plugins
3
The welcome screen
4
Instructions
5
Experimental trials
6
Experiment debrief
7
Creating your experimental trials
8
Recording browser interaction
9
Saving data locally
10
Turning your experiment into a Node.js application
11
Save your data into an online data storage space or database
12
Uploading your experiment on GitHub and deploying on Heroku
13
References
Published with bookdown
jsPsych Tutorial
Chapter 4
Instructions