Generic
In [ ]:
Copied!
"""
(only in pr-release)
An instructions screen welcoming the participant to the experiment,
followed by a second page of instructions, and a final page of instructions.
"""
"""
(only in pr-release)
An instructions screen welcoming the participant to the experiment,
followed by a second page of instructions, and a final page of instructions.
"""
In [ ]:
Copied!
from sweetbean import Block, Experiment
from sweetbean.stimulus import Generic
from sweetbean import Block, Experiment
from sweetbean.stimulus import Generic
In [ ]:
Copied!
instructions = Generic(
type="jsPsychInstructions",
pages=[
"Welcome to the experiment",
"This is the second page of instructions",
"This is the final page",
],
show_clickable_nav=True,
)
instructions = Generic(
type="jsPsychInstructions",
pages=[
"Welcome to the experiment",
"This is the second page of instructions",
"This is the final page",
],
show_clickable_nav=True,
)
In [ ]:
Copied!
block = Block([instructions])
block = Block([instructions])
In [ ]:
Copied!
experiment = Experiment([block])
experiment.to_html("instructions.html")
experiment = Experiment([block])
experiment.to_html("instructions.html")