Download Countdown Without Progress Bar : <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Download Countdown without Progress Bar</title> <style> body { font-family: Arial, sans-serif; text-align: center; margin-top: 50px; } #countdown { font-size: 24px; font-weight: bold; margin: 20px 0; display: none; } #download-btn { padding: 10px 20px; font-size: 18px; background-color: #007BFF; color: white; border: none; border-radius: 5px; cursor: pointer; text-decoration: none; } #download-btn:hover { background-color: #0056b3; } #actual-download-btn { display: none; padding: 10px 20px; font-size: 18px; background-color: #28a745; color: white; border: none; border-radius: 5px; cursor: pointer; text-decoration: none; } #actual-download-btn:hover { background-color: #1e7e34; } </style> <script> function startCountdown() { var countdownElement = document.getElementById("countdown"); var downloadButton = document.getElementById("actual-download-btn"); var initialButton = document.getElementById("download-btn"); var timeLeft = 15; initialButton.style.display = "none"; countdownElement.style.display = "block"; var timer = setInterval(function() { if (timeLeft <= 0) { clearInterval(timer); countdownElement.style.display = "none"; downloadButton.style.display = "inline-block"; } else { countdownElement.textContent = `Your download will start in ${timeLeft} seconds...`; timeLeft--; } }, 1000); } </script> </head> <body> <p id="countdown">Your download will start in 15 seconds...</p> <button id="download-btn" onclick="startCountdown()">Start Download</button> <a id="actual-download-btn" href="https://google.com/“ target="_blank">Download Now</a> </body> </html>