I have an array with a five pieces of text. When a btn is clicked a text box shows a random text entry from the array via this code.
This works fine.
I then want speech synthesis to speak whatever text was chosen. I can't figure out how to get it to connect with the text that happened to be chosen at random.
Many thanks for any tips.