CRBLM WORKSHOP: INTRO TO JAVASCRIPT FOR ONLINE EXPERIMENTS Part 1
Learn how to design your experiments for online deployment using JavaScript. No prior coding experience needed as all necessary concepts will be covered from the ground up. The workshop is organized in two complementary parts – you may choose to attend one or both, depending on your learning needs. See the schedule below for topics covered in each session.
Note: Participants can use any type of computer as long as it has a local installation of JATOS (https://www.jatos.org/Installation.html) and a text editor such as Sublime Text (https://www.sublimetext.com/3).
*
Presented by: Isaac Kinley (McMaster University)
When: Thursday, Feb 4, and Thursday, Feb 18
Where: Online, with zoom link to be sent in advance. Registration required.
*
Part 1 (Thursday, February 4):
9:30-10:30: Live zoom covering the following topics:
- A mental model of the internet (client-server architecture, which code runs where)
- How HTML, CSS, and JavaScript produce dynamic web content
- Data types in JavaScript
- Control flow in JavaScript
10:30-12:30: Independent (or small team) exercises
- Practice exercises building simple JavaScript programs and logging results in the console
- The instructor will be available for support if needed
12:30-1:30: Live zoom covering the following topics:
- Taking up practice exercises
- Overview of JATOS and jsPsych
- Basic jsPsych (trials, the timeline, plugins)
- Uploading an experiment to a local JATOS server
- Using jsPsych’s documentation
- Suggested practice exercise for 2-week break (building a simple reaction time experiment)