Making a simple app with interactive text and blend-in option?

I’d like to create a simple app that mainly consists of Latin text with the option to (1) show an interlinear translation when needed and (2) the option to get a pop-up on every word showing the grammar/meaning behind it.

How do I create that kind of stuff? I have no idea where to start. Thanks!