Add Features

Let's add some features to our app - just using Claude Code - don't read the code.  Just prompt code and let the changes go through.

Add these:

  • Score counter — "Correct" / "Incorrect" buttons after flipping each card
  • Categories/decks — split the one long card list into multiple named decks
  • Missed-card tracking — track which cards they got wrong and re-show them at the end.

 

  • Save my progress — persist which deck they were on and their running score (localStorage or similar).
  • Retrieve Data:  fetch flashcards from the Open Trivia Database API instead of using our hardcoded list — let me pick a category and it loads real questions.  Use this URL - https://opentdb.com/api_config.php - and use this category [choose your category] with a medium difficulty. Have one word answers for each question like for flashcards
  • Change the visual theme (lower-stakes filler feature if time allows)
  • Any other ideas?