Adobe Interview Question

Write a progress bar in js.