Anyone can test their typing skills by undergoing this simple test.
Learning outcomes:
- React Basics:
- Components
- Data Flow
- JSX
- State
- Props
- Simple Animations
- Class Based Component
- Functional Components
- React Hooks
- Usage of API
- Deployment of React App
- Handle the underflow case
- all characters should be shown as not-attempted.
- Handle the overflow case
- early exit(A case when the user completes the test before the given time)
- Handle the backspace case
- Mark the [index+1] element as notAttempted(irrespective of whether the index is less than zero)
- But, don't forget to check for the overflow here(index +1 -> out of bound, when index === length-1)
- Update the status in test info
- Find out the last character in the inputValue and it's index
- Check if the character at same index in testInfo (state) matches
- Yes -> Correct No -> Incorrect (Mistake++)
- Irrespective of the case, characters, words and wpm can be updated
*Enjoyed Making this project and learned a lot of new stuffs * :sparkling_heart: