• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
+ 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
4th Mar 2022, 8:01 AM
Ipang

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
How my gradient is so mess I code in vscode and copied here to ask some questions please help me with this one too
1 Votes
HELP ME LEARN
1 Votes
Please tell me about methods
1 Votes
Does anyone know how to go to another "page" on the same page using the HTML button tag?
2 Votes
I am beginner in CS, how I learn C++?
0 Votes
Can I learn both graphic design and web development at the same time?
0 Votes
How do i learn php in here?
1 Votes
Mentors
1 Votes
Hi everyone I hope you’re well
0 Votes
Running of python or js script (backend) and entering of html page by clicking SUBMIT button
2 Votes