mdanka / czech

1 stars 2 forks source link

Restrict words based on gender #81

Open AMSCarbon opened 2 years ago

AMSCarbon commented 2 years ago

Some people have requested the ability to limit the the gender of provided words, to be able to focus on practicing specific genders they're struggling with.

This change adds an extra section of check boxes to let a user select the genders they want. When a new word is requested, it will check to make sure the randomly selected word meets the requested genders.

Happy to revise if I've done things wonky, this is the first time I've really done anything with TypeScript. I've used the website a ton to practice declension, and it's been very helpful, so extending it seems like a worthy cause :)