Here is an improvement over the initial version.
I got rid of the flip or card rotation, and made it so that you can see a word, then, if you hover a cursor anywhere over the card, its definition on the “back” of the card.
That is a good start.
I won’t go over the code, because this is not a tech blog.
All’s well and good so far, what if I wanted to slow down the transition from front to back of the card? Can this be done?