diff --git a/README.md b/README.md index aa231e92..e36a8bb8 100644 --- a/README.md +++ b/README.md @@ -28,23 +28,25 @@ These examples are intended to illustrate what jsPsych code and experiments look - var trial = { - type: 'instructions', - pages: [ - 'Welcome to the experiment. Click next to begin.', - '
In this experiment, you will view a ' + - 'series of images and answer questions.
' + - 'Answer with the keys "y" or "n".', - 'Here is an example:

' + - '

' + - 'Is this person OLD or YOUNG?' - ], - show_clickable_nav: true - } +var trial = { + type: 'instructions', + pages: [ + 'Welcome to the experiment. Click next to begin.', + + '
In this experiment, you will view a ' + + 'series of images and answer questions.
' + + 'Answer with the keys "y" or "n".', + + 'Here is an example:

' + + '

' + + 'Is this person OLD or YOUNG?' + ], + show_clickable_nav: true +} - jsPsych.init({ - timeline: [trial], - }); +jsPsych.init({ + timeline: [trial], +});