Extra tasks
Now that the application is complete, here is a list of tasks for you to complete to enhance your application and also to test your knowledge of the concepts learned in this chapter:
- Show an error when submitting an invalid salary
- Formatting salary and tax components with commas
- Abstracting tax brackets and percentages to make the app more dynamic
- Pie chart labeling
- Different types of tax
- Corporation tax
- Inheritance tax
- Provide more inputs for the current salary calculator such as pension contributions and student loans
- Back button styling
Note
If at any point you require help, feel free to join my Discord group at https://discord.gg/7e78FxrgqH.
We will summarize what we have covered in this chapter. However, before that, I will provide additional code for the extra tasks for you to implement at your own leisure.
Different tax options
To add different tax options to your code, you can modify ResultsView
to include...