What's problem you are encountering?
When I input a variable into a js function and run the block the block says the variable is not defined. I am doing this for the snapinator project
Post a project example, link, or screenshot:
js code:
var msg = new SpeechSynthesisUtterance();
msg.volume = 1;
msg.rate = 1;
msg.pitch = 2;
msg.text = ti;
msg.lang = 'english';
window.speechSynthesis.speak(msg);
or am I doing something wrong?