Typing practice
Type what is on screen and see right away if it matched · Learn ●●○
Change these if you like
Prompt
Make an app for practising typing with short English sentences. It has to be a single HTML file that opens in a browser with nothing to install and no other files. Put the CSS and JavaScript inside it. Show the text to copy at the top and an input below it. As each character is typed, colour the correct ones grey and the wrong ones red. When a line is finished, move to the next one, and after ten lines show time taken and number of mistakes. Put about twenty lines of practice text directly in the code. Something like "the weather is lovely today" is fine. Do not fetch anything from outside. Add a restart button that shuffles the order and starts over. Do not use image files or any external address. When you are done, go through it as if you were typing. Check that the wrong-character marks land on the right position, that finishing a line moves to the next, and that restarting clears the score. Fix anything wrong and give me only the final version.
What it uses: One file only · Say what it is first · Decide what shows · Give an example · Have it check itself
If the counting is off on the last character, say: "compare only completed characters, and ignore anything still being composed".
Paste what came back
You might also like