Design a progress bar that fills based on a given percentage.
MediumProblem 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>
Expected Output
The progress bar fills to the specified percentage.