Why aren't they working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
5 Answers
+ 3
Speech synth didn't work for me on mobile (works in browser). While I poke at this, note there are demos in CodePlayground that work (e.g. I have one, I bet others work too) if you search for "speech".
21st Nov 2018, 6:25 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
Code 1: A reference / tutorial including CSS properties: https://tink.uk/using-the-web-speech-api-to-simulate-css-speech-support/ Code 2: Solution: both src= AND content cause trouble. <script> tags with both a src= AND content are unreliably supported (and prohibited in HTML5): https://stackoverflow.com/questions/6528325/what-does-a-script-tag-with-src-and-content-mean Close the script tag that imports an external script and create an additional block for your additional script: <script src="..."></script> <script> // your code in a separate block </script>
21st Nov 2018, 6:41 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
I see you updated but alas, you omitted the closing tag for the first <script> :)
24th Nov 2018, 3:46 AM
Kirk Schafer
Kirk Schafer - avatar
0
still not working
22nd Nov 2018, 4:32 AM
B.D
B.D - avatar
0
thanks
24th Nov 2018, 6:44 AM
B.D
B.D - avatar