This content comes from a university course I teach called Programming for Psychologists.
One of the main goals of the course is to learn how to program psychological experiments that can be run online using the JavaScript library, jsPsych.
This is accomplished via the following three modules described below.
On the left is a table of contents linking to each section within the modules.
Module 1) Infrastructure
In this module, students get set up with basic programming tools necessary to build and manage online experiments. We start with Markdown, as a way to gently ease into the programming process. Next, we cover some essential programming tools like command line, code editors (VSCode), web servers (where we run our experiments) and Git version control (to track changes to our experiment codebases).
Module 2) JavaScript
In this module, students learn the basics of working with JavaScript, the underlying language used in the jsPsych library.
Module 3) jsPsych
In this final module, students apply their JavaScript skills and learn how to use jsPsych to build online psychological experiments. As part of the process, they also learn how to host their experiments on publicly accessible servers and collect data via tools provided by the Open Science Foundation (OSF).
Misc Topics
In addition to the above, the following miscellaneous content is covered:
- HTML and CSS (for structuring and styling experiments)
- Interacting with external APIs for research purposes
- Enhancing Qualtrics surveys with programming