I want there to be a label and a textbox. In the textbox the user types in what is in the label, like a typing test. If the user types the right character in then the character in the label becomes green.
I am going to implement this in JavaFX. I will basically transform the label into an array and see if it matches anything in the textbox. I'm not sure what I need to use to to check if the textbox character matches the array.
I wrote a simple test JavaFX application that do what you are asking.
This is the result
And this is the code
I think that this isn't the best way to do that, but will help you to proceed.