Write words while reading or watching

While watching videos, it would be awesome if, after clicking on a word to learn the translation, it would come up as a sort of test to use in the subtitles. For example: I have clicked the word “learned” in english so that I can learn that. Then the next time the word is used in the video or text, it will be blank and you have to write it in.