Building a flashcard app in Ruby - Part 3
CLI Overhaul! Welcome back! We’re now going to overhaul the presentation layer of the app. We’ll be implementing: A main menu (and submenus) A way to create flashcards in-app General improvements to user experience In Exalidraw, I sketched up the following flow: Now, the challenge is how to materialise this into working (and hopefully clean) code! The menu component Central to this design is the menu component itself, showing a list of options and allowing the user to choose one. I did some googling and found 2 libraries to help with this task: ...