What's wrong here? [SOLVED] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What's wrong here? [SOLVED]

https://code.sololearn.com/WbuuzFxiCwd2/?ref=app The code is supposed to be displaying the time elapsed since the page loaded. But it isn't doing anything. [Solved no need to ans anymore]

7th Aug 2020, 3:38 PM
MSN
MSN - avatar
8 Answers
+ 4
🇧🇩Saadman Nuheen🇧🇩 first of all Its innerHTML not innerHtml So correct this and your code is done, just decorate it with css
7th Aug 2020, 4:08 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 3
No Abhay i was trying to code a stopwatch that will show the elapsed time since the page loaded. Check the code now.its fixed.
8th Aug 2020, 3:03 AM
MSN
MSN - avatar
+ 3
There isn't any... 😁😁😁
8th Aug 2020, 6:30 AM
MSN
MSN - avatar
+ 2
Thanks AKSHAY.
8th Aug 2020, 2:54 AM
MSN
MSN - avatar
8th Aug 2020, 6:28 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 2
🇧🇩Saadman Nuheen🇧🇩 but where is reset and resume button 🤔🤔
8th Aug 2020, 6:29 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 2
AKSHAY No it wasn't a mistake... It was a msg for someone who asked the question. But he deleted it.
8th Aug 2020, 3:30 PM
MSN
MSN - avatar
+ 1
Nothing is wrong , works according to what you have coded , maybe you are looking into getting current min ,sec and so on ,if so use Date object
7th Aug 2020, 4:01 PM
Abhay
Abhay - avatar