I've had a go at doing something like what you want but ran out of steam before getting it fully working.
Have a look at http://stephenteachertests.tiddlyspot.com/#Intreactive%20text for my various attempts and feel free to grab anything which looks promising.
And https://ooktech.com/jed/ExampleWikis/Oppiaish%20Thing/
Might be exactly the thing.
And twiz.tiddlyspot.com might also be worth a look.
Now, a test I imagined would show me the Year, and like 4 answer possibilities, from which one is correct. Like:
1913Start Vietnam WarJesus was bornStart second World warG. Washington was elected