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
02e42d94da
commit
dd46c7e017
34
README.md
34
README.md
@ -28,23 +28,25 @@ These examples are intended to illustrate what jsPsych code and experiments look
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
var trial = {
|
var trial = {
|
||||||
type: 'instructions',
|
type: 'instructions',
|
||||||
pages: [
|
pages: [
|
||||||
'Welcome to the experiment. Click next to begin.',
|
'Welcome to the experiment. Click next to begin.',
|
||||||
'<div>In this experiment, you will view a ' +
|
|
||||||
'series of images and answer questions.<br>' +
|
|
||||||
'Answer with the keys "y" or "n".',
|
|
||||||
'Here is an example:<br><br> ' +
|
|
||||||
'<img src="img/age/of2.jpg"></img><br><br>' +
|
|
||||||
'Is this person OLD or YOUNG?'
|
|
||||||
],
|
|
||||||
show_clickable_nav: true
|
|
||||||
}
|
|
||||||
|
|
||||||
jsPsych.init({
|
'<div>In this experiment, you will view a ' +
|
||||||
timeline: [trial],
|
'series of images and answer questions.<br>' +
|
||||||
});
|
'Answer with the keys "y" or "n".',
|
||||||
|
|
||||||
|
'Here is an example:<br><br> ' +
|
||||||
|
'<img src="img/age/of2.jpg"></img><br><br>' +
|
||||||
|
'Is this person OLD or YOUNG?'
|
||||||
|
],
|
||||||
|
show_clickable_nav: true
|
||||||
|
}
|
||||||
|
|
||||||
|
jsPsych.init({
|
||||||
|
timeline: [trial],
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user