Tag Archives: education

A Touch-Typing Trainer in JavaScript

The JavaScript code below implements a simple typing trainer in JavaScript. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or, for an online version, visit the … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

A Word-for-Word Inline Translation Utility in JavaScript

The JavaScript program below, when run, prompts the user for a passage to be translated into a foreign language and a dictionary that provides translations, then presents the translated text interleaved with the original text. The translation is word-for-word, which … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment

A Simple Flashcard System in JavaScript

The JavaScript program below, when run, prompts for a lesson file, and, when one is provided, quizzes the user with the questions from it. When the user answers all questions correctly three times in a row, the lesson is counted … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment