It all started in preschool. Seemed simple enough. Learn these words. Of course we don’t teach phonics anymore. We just show them a word and make them memorize the shapes associating it with a word. Rote memorization. That’s how we measure children now. Not can you figure out the word from the letters and sounds. Instead just memorize these shapes and patterns. Now I’m not an educator but I don’t think this is the best way to do things.
The correct and incorrect choices use an xmlhttprequest to post the results to the flask app for recording in the database. This lets me keep track of what she knows. After that they call another function to get and display a new word. This is handled by a route that selects the top 5 words that she has demonstrated she knows and the top five she doesn’t. Then it pulls a random word from this shorted list to display. Once she has done enough to move on the end button displays how many were right vs wrong. The start button resets the score and pulls a new word. There is also text to speech to say the word in case she is doing it by herself while I’m on a phone call.
You can checkout the repository here: https://github.com/khensler/sightwords