I have a problem that is kind of difficult to explain.
What I would like to do is look in a string of text, for example "hello". And each character in this string should be compared to user input, one by one.
If the text starts as full red, user presses "H" then the "h" letter of "hello" turns green, and the rest of the letters remain red.
How could I do this with javascript? Could anyone point me in the right direction please?