+ 19

Sadness on my body 😥😕😔

Well, 7 hours ago (6:00 PM before new year) I started coding this digital clock and countdown for new year .... well just an hour ago I finished eveything, my code was working fine and It supposed to show an animation when my countdown was 2 seconds left but It didn't happend... I'm sad .. could you tell me guys what was wrong on my code? https://code.sololearn.com/Wf8OJsBQl8h2/?ref=app

1st Jan 2019, 6:11 AM
Edwing123
Edwing123 - avatar
17 Antworten
+ 18
Lol. How is the title of the question actually related to the problem? Do you mean html body?
1st Jan 2019, 10:08 PM
Sonic
Sonic - avatar
+ 16
Line 58 sLeft == 2 Change to sLeft < 2
1st Jan 2019, 7:09 AM
Gordon
Gordon - avatar
+ 6
Because there's nothing to do, unless you want to wait for next year to launch the code. I don't think it is worth of sadness, in next year would feel much worse to miss round years.
1st Jan 2019, 7:18 PM
Seb TheS
Seb TheS - avatar
+ 4
ok thanks😀🤯
2nd Jan 2019, 4:08 AM
Bella Riddle
Bella Riddle - avatar
+ 4
You just have to keep the sadness out of your head and you’ll be fine and try to see if it still doesnt work when your variable sLeft says <2 on Line 58.
4th Jan 2019, 2:07 AM
Ahmed Akhtar
Ahmed Akhtar - avatar
+ 3
oh,that's sad
2nd Jan 2019, 3:43 PM
WASEEM MEHR
WASEEM MEHR - avatar
+ 3
ShortCode, It did worked an hour before and when it came to 2 seconds left it didn't show me the animation 🤣
3rd Jan 2019, 3:41 AM
Edwing123
Edwing123 - avatar
+ 3
btw, Happy New Year guys :)
3rd Jan 2019, 3:41 AM
Edwing123
Edwing123 - avatar
+ 3
Lol Sonic true.
4th Jan 2019, 2:15 AM
ShortCode
+ 2
Ahmed Akhtar , The Learner 's sadness is already out of his/her head. It's in the body.
4th Jan 2019, 2:13 AM
Sonic
Sonic - avatar
+ 1
Later, if you code something, make sure you have checked it run successfully.
3rd Jan 2019, 3:37 AM
ShortCode
+ 1
Sonic you are full of great comments
4th Jan 2019, 2:24 AM
David F. Rose
David F. Rose - avatar
+ 1
xD I think my body and head are already healed
4th Jan 2019, 2:28 AM
Edwing123
Edwing123 - avatar
+ 1
You all make this fun, the kidding helps stem the tide of total frustration.
11th Jan 2019, 2:49 AM
David F. Rose
David F. Rose - avatar
0
how 2 code a comment wit html
3rd Jan 2019, 12:32 PM
Jay CreativeStyles
0
sravnakumar LOVE
13th Jan 2019, 11:19 AM
Sravna Kumar
Sravna Kumar - avatar