Merge commit '3a8963b49d96d0746b64244fa17458d4ae68ec45' into feature/combination-of-all-the-things

This commit is contained in:
2025-11-10 17:01:30 +01:00
3 changed files with 33 additions and 0 deletions
+5
View File
@@ -32,6 +32,11 @@
</div>
<button class="submit-btn" id="submitButton">Submit Video</button>
<div class="progressbar">
<div class="progress_fill"></div>
<span class="progress_text">0%</span>
</div>
</div>
<script src="script.js"></script>
+6
View File
@@ -29,3 +29,9 @@ function handleFiles(files) {
}
}
}
function updateProgressBar(bar, value){
value = Math.round(value);
bar.querySelector(".progress_fill").style.width = `${value}%`;
bar.querySelector(".progress_text").textContent = `${value}%`;
}
+22
View File
@@ -108,3 +108,25 @@ h1 {
align-content: center;
}
.progressbar{
position: relative;
width: 210px;
height: 30px;
background: darkslategray;
border-radius: 5px;
overflow: hidden;
}
.progress_fill{
width: 0%;
height: 100%;
background: green;
transition: all 0.2s;
}
.progress_text{
position: absolute;
top: 50%;
right: 5px;
transform: translateY(-50%);
}