The saving of how well each term in a set is learned will likely be important. For it to sync however, the data will need to be stored on the server. There aren't a ton of options:
Save in turso database
Save in cloudflare database D1?
Save in Astro DB
Add a timelimit? Clearly the data doesn't need to be saved forever - people will likely forget
Data analysis - Determining terms that are generally difficult to learn?
This will likely be relatively costly.
The alternative option is to simply store in user cache. This may be a worse experience however.
The saving of how well each term in a set is learned will likely be important. For it to sync however, the data will need to be stored on the server. There aren't a ton of options: