Instead of onload use this input type="button" onclick="countdown('countdown');" value="Start for reset, use this input type="button" onclick="minutes=5;seconds=10;" value="Reset.
Instead of onload use this for reset, use this.
The code that triggers the countdown is here: window. Onload = function() { countdown('countdown'); } instead, you can erase that and inline a button in the content that triggers the countdown with an onclick behavior: Click Me to Start The timer is stored in your var interval; To stop it, you can put in another button that calls clearInterval(interval): Click Me to Stop To reset, do what the others suggested and store a new value in the minutes, seconds :).
You will need the two buttons: and the javascript for them: var reset = document. GetElementById('reset'); reset. Onclick = function() { minutes = 5; seconds = 10; clearInterval(interval); interval = null; } var start = document.
GetElementById('start'); start. Onclick = function() { if (!interval) { countdown('countdown'); } } example here.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.