Adobe interview question

Write a progress bar in js.