+ 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
17 Antworten
+ 18
Lol. How is the title of the question actually related to the problem? Do you mean html body?
+ 16
Line 58
sLeft == 2
Change to
sLeft < 2
+ 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.
+ 4
ok thanks😀🤯
+ 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.
+ 3
oh,that's sad
+ 3
ShortCode, It did worked an hour before and when it came to 2 seconds left it didn't show me the animation 🤣
+ 3
btw, Happy New Year guys :)
+ 3
Lol Sonic true.
+ 2
Ahmed Akhtar , The Learner 's sadness is already out of his/her head. It's in the body.
+ 1
Later, if you code something, make sure you have checked it run successfully.
+ 1
Sonic you are full of great comments
+ 1
xD I think my body and head are already healed
+ 1
You all make this fun, the kidding helps stem the tide of total frustration.
0
how 2 code a comment wit html
0
sravnakumar LOVE