Barra de Progresso
About this app
Aplicativo de barra de progresso de 10 milhão até 50 milhões com números na tela
Barra de Progresso Barra de Progresso 10,000,000
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Barra de Progresso</title>
<meta name="description" content="Aplicativo de barra de progresso de 10 milhão até 50 milhões com números na tela">
<meta name="keywords" content="barra de progresso, números, tela, 10 milhão, 50 milhões">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
document.addEventListener("DOMContentLoaded", function() {
// Get the progress bar element
var progressBar = document.getElementById("progress-bar");
// Set the progress bar's min and max values
progressBar.min = 10000000;
progressBar.max = 50000000;
// Set the initial value of the progress bar
progressBar.value = 10000000;
// Update the progress bar value every second
setInterval(function() {
// Get the current value of the progress bar
var currentValue = progressBar.value;
// Increase the value by 1000000 every second
currentValue += 1000000;
// Update the progress bar value
progressBar.value = currentValue;
// Update the value displayed on the screen
document.getElementById("value").innerText = currentValue.toLocaleString();
}, 1000);
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
.progress {
height: 20px;
border-radius: 10px;
background-color: #e9ecef;
}
.progress-bar {
height: 100%;
border-radius: 10px;
background-color: #00bcd4;
transition: width 0.5s ease-in-out;
}
#value {
font-size: 24px;
font-weight: bold;
margin-top: 10px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<div class="text-center">
<h1>Barra de Progresso</h1>
<div class="progress">
<div id="progress-bar" class="progress-bar" role="progressbar"></div>
</div>
<div id="value">10,000,000</div>
</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!