+ 2
You didn't assign the timer ID to any variable. And you call setInterval() method in a wrong place (inside the prompt() method).
You need to assign timer ID (returned by setInterval() method) to a variable and use that ID when you want to stop the timer.
https://www.w3schools.com/jsref/met_win_setinterval.asp