Problem w/ code in online exp

URL of experiment: https://run.pavlovia.org/ag1zywert/sound-intensity/html/?__pilotToken=aab3238922bcc25a6f606eb525ffdc56&__oauthToken=64dd4f7ba57662be04eb9bc965b188f002cdcc237f8235f509fd7f86a67cee31

Description of the problem:

Hey,

My problem is that I can’t ‘translate’ py to js correctly. My code is very short and simple, but unfortunately I can’t java script. My code concerns feedback for tasks and looks as follows

Begin experiment

msg=''

Begin routine

msg = "Poprawna odpowiedź to %i" %(corrAns)

I understand that I should choose the option both in the code, but unfortunately I am unable to translate. Can somebody help me?

Thank you very much

If the error you are getting concerns only the formatting of msg, try

msg = "Poprawna odpowiedź to " +corrAns