Im getting unknown errors please help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Im getting unknown errors please help

I want the responsive voice to speak the answer that is being generated from the "var all" but I'm getting some errors that I don't even understand, anyone here familiar with responsive voice API ?https://code.sololearn.com/WyNaZru8Z3oD/#html

4th Jan 2020, 12:48 AM
Glory222
Glory222 - avatar
4 Answers
+ 2
Glory222 The text you want to be spoken must be a string, so instead of: (var say = 7+3) it should be (var say = "7+3") https://responsivevoice.org/api/
4th Jan 2020, 4:06 AM
ODLNT
ODLNT - avatar
+ 1
Hello ODLNT but It's saying 7+3! I want it to calculate the equation and then it's should say the final answer! It has to say "ten" but it keeps repeat the equation! Please help
4th Jan 2020, 4:26 AM
Glory222
Glory222 - avatar
+ 1
Thanks mate ODLNT
4th Jan 2020, 5:33 AM
Glory222
Glory222 - avatar