Website developed to be a litle game that gives a time to the user type in a textarea and when the timer gets to 0, count the amount of words on it (regardless of whether it is spelled correctly or not).
Clone this repository and install it dependencies with this command:
npm install
Run the application with npm start command, it will start the app on localhost:3000:
npm start
Functionality 1
: Set a timerFunctionality 2
: Get words from textarea and count itFunctionality 3
: Disable button and textarea when the game is not runningFunctionality 4
: Focus textarea after button 'start' is clicked
React
Hooks (useState, useEffect, useRef)
Clean code