I was actually learning React around the time I was learning to touch type. So, naturally, my first project was to build a typing test[0] :) Looking back, I cringe at the code quality. But it worked and I had fun doing it. ¯\_(ツ)_/¯
I like the idea of typing out code though! I think there are some sites that do that, like https://typing.io/
SWEET! Typing.io is perfect and almost* exactly what I was intending to build. Can even upload own samples, and it focuses on working code, no typos. I think I'll actually pay for this too!
* It doesn't seem to have the social/competition/gamification aspect built in like Vim Golf.