neilhpatel / CodeATale

This is the repository for my Junior Design project. My team developed an interactive web application for children to read the story Dr. Dolittle while improving comprehension skills through quizzes and audio.
0 stars 0 forks source link

Fixed a bug with audio not playing for specific words. #138

Closed neilhpatel closed 2 years ago

neilhpatel commented 2 years ago

I noticed that words that were uppercase in the story did not have audio playing when a user single clicked on it. The reason why is because the aws folder for audio has the first letter lowercased ('a', 'b', 'c', ..., 'z' instead of 'A', 'B', 'C', ..., 'Z'), so words with the first letter uppercase never played audio. To test, go to the first page and click on the word "John". This updated code will play audio while the original code will not.