scrimba
React Bootcamp Course
Speed Typing Game Part 2
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Speed Typing Game Part 2
AboutCommentsNotes
Speed Typing Game Part 2
Expand for more info
App.js
run
preview
console
import React from "react"

/**
* Challenge: Using hooks, track the state of the text in the textarea on every keystroke
* To verify it's working, you could just console.log the state on every change
*/

function App() {
return (
<div>
<h1>How fast do you type?</h1>
<textarea />
<h4>Time reminaing: ???</h4>
<button>Start</button>
<h1>Word count: ???</h1>
</div>
)
}

export default App
Console
/index.html
-3:58