Hello Marc,
this is python formatting style but online you speak JavaScript. Take a look in Wake Carter’s crib-sheet
This example might already help you:
$'The experiment is finished. Please note your participant-code: ' + partcode + ' and send an e-mail witht the subject ... to ????@???.?? for course credit \n\n Continue with j'
partcode is a variable created ealiert in the script.
Best jens