Programming Exercises

Design a progress bar that fills based on a given percentage.

Medium

Problem Statement

Design a progress bar that fills based on a given percentage.

Sample Output

The progress bar fills to the specified percentage.

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
<!DOCTYPE html> <html> <head> <style> /* Add CSS here to style the progress bar */ </style> </head> <body> <div class="progress-bar"><div class="fill"></div></div> </body> </html>
Log in or sign up to run or submit your code.Log inSign up
Expected Output
The progress bar fills to the specified percentage.