Caspio interview question

Write a code for a progress bar