How to implement such a progress bar in a slider?

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!