I am trying to figure out the correct logic for my language app for this exercise:
Essentially what happens is the user is forced to type the correct letters in order as the correct answer or the app will not allow the user to type that letter. Each time the user types an incorrect letter, the Hint drop down appears with the correct word.
In the video above the correct phrase is: “Hoy hace calor en Barcelona”
If the user tries to type H-a : then the system will show “H” and then the dropdown will show hint and will not let user continue typing the correct letters until the correct letter is typed - Hoy -
Any hints on how to do this similar logic? I am stumped. I have it now to match correct phrases but it is very demotivating to users that type an entire sentence and get the entire thing wrong because they have one letter wrong!
Please lend your brilliance to a fellow learner