Question and answer / flash card type script | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Question and answer / flash card type script

I just started learning the basics of JS and wanted to attempt to write some code that would prompt the user to enter the correct match for a word in German (like a flashcard). My thought was to list the German words in an array, then create a function with a prompt box and a switch. But I was wondering if there is another method to do this aside from a pop up box?

21st Oct 2017, 5:50 AM
Thom
1 Answer
+ 1
Hey :) Are you still interested in a solution for this or have you moved on?
10th Nov 2017, 4:52 PM
Uria