I found this website where a progress bar is shown which helps users to know how much content they have read or is still remaining.
I tried to recreate that in react and it is easy and involves a bit of maths!
How to get the percentage?
Simple maths :)
Top comments (0)