Prev Demo
HTML5
>
Progress Bar
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> <script> var count = 0; function Increment(){ count = count + 10; document.getElementById("p1").value = count; } function Decrement(){ count = count - 10; document.getElementById("p1").value = count; } </script> </head> <body> <h4>page is loading</h4> <progress value="25" max="100" id="p1" style="background-color:red;color:blue;"></progress> TechFunda <p> <button onclick="Increment()">Increment</button> <button onclick="Decrement()">Decrement</button> </p> </body> </html>
Note: We DO NOT save your trial code in our database.
Output