DS Download Time Calculator
internet it's NOT needed you can paste this HTML Code on pastebin in a TXT file then rename it HTML run it in your PC,it's NOT needed java or css
https://pastebin.com/TmJ84mZd
HTML Code share free for all
<!DOCTYPE html>
<html>
<head>
<title>Davide Spagocci Download Time Calculator internet Files GB Mbps</title>
</head>
<body>
<h1>Davide Spagocci Download Time Calculator internet Files GB Mbps</h1>
<form>
<label for="file-size">File Size (GB):</label>
<input type="number" id="file-size" step="0.1" required>
<br>
<label for="download-speed">Download Speed (Mbps):</label>
<input type="number" id="download-speed" step="0.1" required>
<br>
<button type="button" onclick="calculateDownloadTime()">Calculate</button>
</form>
<div id="result"></div>
<script>
function calculateDownloadTime() {
var fileSize = parseFloat(document.getElementById("file-size").value);
var downloadSpeed = parseFloat(document.getElementById("download-speed").value);
var downloadTime = fileSize * 1024 / (downloadSpeed / 8);
var hours = Math.floor(downloadTime / 3600);
var minutes = Math.floor((downloadTime % 3600) / 60);
var seconds = Math.floor(downloadTime % 60);
var result = document.getElementById("result");
result.innerHTML = "Download Time: " + hours + " hours, " + minutes + " minutes, " + seconds + " seconds";
}
</script>
</body>
</html>