Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> Downloading progress: <progress id="myProgress" value="22" max="100"> </progress> <p>Click the button to change the value of the max attribute of the progress bar to "50".</p> <button onclick="myFunction()">Try it</button> <script> function myFunction() { document.getElementById("myProgress").max = "50"; } </script> </body> </html>