+ 2

How to run input and coutdown at the same time?

I am making a multiple choice quiz game and want to run coutdown in a way at the same time user should be able to input their option.

12th Aug 2018, 4:45 PM
Neeraj kumar
Neeraj kumar - avatar
6 Respuestas
+ 1
Actually i am doing it in python can you tell me in python
12th Aug 2018, 4:57 PM
Neeraj kumar
Neeraj kumar - avatar
+ 1
Sorry not my thing😂✌
12th Aug 2018, 5:00 PM
Ledio Deda
Ledio Deda - avatar
+ 1
Google search "Asynchronous Methods python"
12th Aug 2018, 9:29 PM
inxanedev!
inxanedev! - avatar
0
Supose you have the box with the id box and you have used var box = document.getElementById("box"); var countdown = setInterval(count, 1000); var sec = 10;//10 secs to answer function count(){ sec--; onclick.box = function() { clearInterval(countdown); } if(sec == 0) { clearInterval(countdown); } } I guess you have to learn more about DOM and Events, so you can make a better code.
12th Aug 2018, 4:50 PM
Ledio Deda
Ledio Deda - avatar
0
no problem thanks anyways😊😊😊
12th Aug 2018, 5:01 PM
Neeraj kumar
Neeraj kumar - avatar
0
it WWW(worldwide web)
18th Aug 2018, 1:41 PM
Adefisan Doyinsolami
Adefisan Doyinsolami - avatar