mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Update README.md
This commit is contained in:
parent
77c3031369
commit
7de768bfea
13
README.md
13
README.md
@ -70,28 +70,27 @@ This is an example of the image-keyboard-response plugin:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var trial_1 = {
|
||||
type: "image-keyboard-response",
|
||||
stimulus: 'img/happy_face_1.jpg',
|
||||
choices: [89, 78],
|
||||
prompt: '<p class="center-content">' +
|
||||
'Is this face happy? Y or N.</p>'
|
||||
prompt: '<p>Is this face happy? Y or N.</p>'
|
||||
}
|
||||
|
||||
var trial_2 = {
|
||||
type: 'image-keyboard-response',
|
||||
stimulus: 'img/sad_face_2.jpg',
|
||||
choices: [89, 78], // Y or N
|
||||
prompt: '<p class="center-content">' +
|
||||
'Is this face happy? Y or N.</p>'
|
||||
prompt: '<p>Is this face happy? Y or N.</p>'
|
||||
}
|
||||
|
||||
var trial_3 = {
|
||||
type: 'image-keyboard-response',
|
||||
stimulus: 'img/happy_face_2.jpg',
|
||||
choices: [89, 78], // Y or N
|
||||
prompt: '<p class="center-content">' +
|
||||
'Is this face happy? Y or N.</p>',
|
||||
prompt: '<p>Is this face happy? Y or N.</p>',
|
||||
}
|
||||
|
||||
|
||||
@ -102,6 +101,8 @@ This is an example of the image-keyboard-response plugin:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```
|
||||
</sub>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user