Closed belledon closed 3 years ago
Please attempt to add key presses in the Page structure
Page
You need to modify https://github.com/CNCLgithub/rooms-psiturk/blob/aa5a2a362c0f5e0c74c0aa800d7920373c047102/psiturk/templates/page.html#L22-L25
such that subjects are asked to press either "j" or "k"
and also edit Page to properly register correct responses
https://github.com/CNCLgithub/rooms-psiturk/blob/aa5a2a362c0f5e0c74c0aa800d7920373c047102/psiturk/static/js/page.js#L126-L138
also edit this https://github.com/CNCLgithub/rooms-psiturk/blob/aa5a2a362c0f5e0c74c0aa800d7920373c047102/psiturk/static/js/page.js#L58-L64
to extract which key they pressed
Please attempt to add key presses in the
Page
structureYou need to modify https://github.com/CNCLgithub/rooms-psiturk/blob/aa5a2a362c0f5e0c74c0aa800d7920373c047102/psiturk/templates/page.html#L22-L25
such that subjects are asked to press either "j" or "k"
and also edit
Page
to properly register correct responseshttps://github.com/CNCLgithub/rooms-psiturk/blob/aa5a2a362c0f5e0c74c0aa800d7920373c047102/psiturk/static/js/page.js#L126-L138