Skip to content
Discussion options

You must be logged in to vote

Hi Jose, try adding 1 to i and then converting the result to a string, like this:

stimulus: "<p>This is block number " + (i+1).toString() + " out of 5.</p></br>" + "<p>Please take a break.</p></br>"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joseluisulloafulgeri
Comment options

Answer selected by becky-gilbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants