h2 {
margin-bottom: 10px;
}
input {
padding: 10px;
font-size: 16px;
width: 150px;
text-align: center;
border-radius: 5px;
border: none;
margin-bottom: 15px;
}
button {
padding: 10px 20px;
font-size: 16px;
background: #e67e22;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.countdown {
font-size: 48px;
margin-top: 20px;
}
00
<script>
let interval;
function startCountdown() {
clearInterval(interval);
let time = parseInt(document.getElementById("timeInput").value);
const display = document.getElementById("countdownDisplay");
if (isNaN(time) || time < 1) {# Countdown-timer-