What does it take to hack a typing game speed?
I have a good CSS and HTML experience and decent in JS (not too hot; not too bad). So with that experience, I tried to hack this typing game called https://www.nitrotype.com/race (speed). I see they have an input. And they have a <span class ="dash-words"> and inside that <span class="dash-letters"> And the letters that is waiting to be typed has the original classname + "waiting", when you type it correctly it adds another class name + "is-correct is-typed" By looking at that it looked easy. I thought maybe I could put the input's value based on whatever letter is waiting to be typed. like ... <span class = "dash-letter is-waiting">B </span> in this case, I could be like ... input.value = "B" just to type the letter "B", and if that worked maybe I could use a loop and do the same for the rest, but.... but nothing works. I've tried other things too, still nothing... So, why isn't it as easy as it might look? What would I need to do to achieve the hack>?