A percentage calculator illustrating the usage of svelte
This is the concept that needs to be implemented: