Read these instructions carefully to understand the requirements and functionalities for this project.
We will be Creating a Stopwatch using React for this Assignment.
Below Functionalities should be implemented in your Project:
- A text element to show count down timer in
( 00:00:00 ) → HH:MM:SSformat. - On
Startbutton click, the timer will start. - On
Resetbutton click the timer will reset to 00:00:00. - On
Pausebutton click the timer will be paused.
-
Clone this repo by using use template option with name of repo as
Mini-Project-Stopwatch-Assignment. -
Clone your created repo and work on it to push your code.
-
Use
githubbox.cominstead ofgithub.comin your repository path, to create a synced codesandbox(always in sync with code in your repo). Read more here
- Create a Component for timer with initial value for timer as
00:00:00. Feel free to customise styles for it (Can be a simplespanorptag to display timer as well). - Create 3 buttons i.e
Start,PauseandReset. - Attach event handler to these 3 buttons.
- After attaching the event handler on buttons, first, check using a
console.logstatement that the buttons are working fine. - Implement functionality for
StartButton. - Implement functionality for
PauseButton. - Implement functionality for
resetButton.
NOTE: Use of class component is strictly not allowed.
- Submit the code repo link.
Deadline - Saturday, 12PM ( DAY 4)