Guide to Using jsPsych Library for Online Experiments

jsPsych Experiment Design

Getting Started with jsPsych

Creating behavioral and cognitive experiments can get complex yet fascinating. Thanks to jspsych, a JavaScript library, you can now develop and run these online experiments with less fuss. Getting started is a breeze - simply download the library from and include it in your HTML file. You can follow the Cognition's guide for step-by-step instructions.

Where to Find Help

Whether you're defining cognitive tasks or designing cognitive experiments, the official jsPsych website is the first stop. The site hosts a rich repository of documentation, tutorials, and examples that will help you get along. You could also look up at discussion boards like Stack Overflow where many jsPsych developers address queries.

How to Ask Questions

Asking the right questions is key to advancing in any field, especially when running experiments. If you're stuck with an issue in jsPsych, first consult the jsPsych "Hello world" experiment. If you can’t find a solution, post your question on GitHub's jsPsych issues page. Make sure to include all relevant information about your issue to facilitate a solution.

Where to Find Courses

Several online courses teach the nuances of using jsPsych for psychological research. Coursera, Udemy, and edX offer related courses. Choose one that fits your level of understanding and learning objectives.

Finding Advanced Topics

To delve deeper into jsPsych, consult the library's Reference Documentation. This includes topics like plugin creation, running remote studies, and timeline functionality. Peer-reviewed articles and jsPsych Releases are excellent sources to learn more about recent developments and advancements in jsPsych.

Connecting with the Community

The jsPsych community is a thriving network of researchers, developers, and enthusiasts. Engage with this community at the Google Group for jsPsych where there is a constant exchange of ideas, support, and solutions. It's an ideal platform to learn, contribute, and evolve while working with online experiments. Let's demystify these intricate tasks together and make the world of online experiments a better place for all researchers!

Related articles: