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
4 Answers
+ 1
Glory222
I suggest using Template literals.
https://www.youtube.com/watch?v=kj8HU-_P2NU
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
+ 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/
+ 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
+ 1
Thanks mate ODLNT