Replies: 1 comment
-
Hi, <body>
<div id="acc-display">Correct Responses: 0</div>
<div id="jspsych-display"></div>
</body> To set up jsPsych, use: var jsPsych = initJsPsych({
display_element: "jspsych-display"
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add a score to my experiment that should be present throughout the entire experiment. I originally tried adding
<div id="acc-display">Correct Responses: 0</div>
to the body above the script section just to see if I could get my text to display. It displays the text really fast before the first trial starts, but then it disappears. Eventually I would like it to be dynamic so that the '0' updates to the person's score, which I have as a variable,acc
. I have a chunk of code commented out for this purpose. My code is below for reference. Thank you!Beta Was this translation helpful? Give feedback.
All reactions