Programming Exercises

Implement a progress bar that fills up when a button is clicked, using the <progress> tag and JavaScript.

Hard

Problem Statement

Implement a progress bar that fills up when a button is clicked, using the tag and JavaScript.

Sample Input

A progress bar with a button to fill it.

Sample Output

The webpage displays a progress bar that fills up when the button is clicked.

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
<!doctype html> <html></html>
Log in or sign up to run or submit your code.Log inSign up
Input
A progress bar with a button to fill it.
Expected Output
The webpage displays a progress bar that fills up when the button is clicked.