Question: Using JavaScript code create web application buttons function as follows: Set : Prompts for minutes, minimum 1, maximum 30. The corresponding timer field is updated
Using JavaScript code create web application buttons function as follows:
Set: Prompts for minutes, minimum 1, maximum 30. The corresponding timer field is updated to reflect the number of minutes entered. While the corresponding timer is counting up/down, the Set button performs no action.
Count Up: Sets the corresponding timer to 0:00 and counts up in one-second intervals until the timer matches the number of minutes previously set.
Count Down: Counts down the previously set corresponding timer in one-second intervals until 0:00 and then ends.
Stop: Stops the corresponding timer and ends the count up/down of the timer.
Disable buttons that should not be selected when a button is selected. E.g., Count Up disables Set, Count Down. Enables Stop.

I'm trying to get the Count up function to start at 0:00 and count up to the time that the user inputted and then it will stop the timer. Not sure what's wrong here's the code
HTML
Timer 3:
minutes
JAVASCRIPT
Timer 3:
minutes
Timer: minutes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
