I'm a passionate software engineer located in Nigeria. My expertise lies in crafting top-notch applications that make a meaningful impact on people lives.
thanks a ton :)
And please keep stuff like this coming.
Projects like these are fun and helpful for beginners and others to keep in touch with the language.
Cheers 🥂
I'm a passionate software engineer located in Nigeria. My expertise lies in crafting top-notch applications that make a meaningful impact on people lives.
Great tutorial. Good for practice.
Can you please help me with the meaning of
0${time}
and the whole line as well.
return time < 10? `0${time}` : time;
Means adding zero (0) to the time if is less than 10, when counting down.
We use return ternary to check the time and add 0 to it, if the count down is less than 10 or return the normal format time, when counting down.
Thank you
I hope this helps
thanks a ton :)
And please keep stuff like this coming.
Projects like these are fun and helpful for beginners and others to keep in touch with the language.
Cheers 🥂
Sure I will.
Thank you