Tag Archives: education

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