Sadness on my body ๐Ÿ˜ฅ๐Ÿ˜•๐Ÿ˜” | Sololearn: Learn to code for FREE!

+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

1/1/2019 6:11:40 AM

Edwing123

17 Answers

New Answer

+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.

+5

+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.

+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