Quote:
onload="startcountdown(20);"
function startCountdown(timeLeft) {
Javascript is case-sensitive. Your function is called
startCountdown
, but you try to call
startcountdown
.
If you check your browser's developer console, you will see an error telling you that the function
startcountdown
doesn't exist.