ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
React JS Project - Countdown Timer | Frontend Interview Challenge | PART - 1
ฝัง
- เผยแพร่เมื่อ 5 ก.ค. 2024
- 🎉 Don't miss out on more coding tips and tutorials! Subscribe to CodeCraft Academy now: / @codecraft532
Countdown Timer in React Js
A countdown timer has hours, minutes and seconds that count down to 0 when started. In this problem, you are required to create a Countdown component that takes in an input of minutes, that when started, counts down to zero and prints the countdown on the screen.
Tasks:
1)Create a countdown timer that takes in an input as the minutes that you want the countdown to start from.
2)When clicked on the Play Icon, the timer should start counting to 0.
3)If the input is changed in the middle, the countdown should stop and reset.
Thank you for watching. Please like, share, and subscribe to my channel to support me.