scrimba
React Bootcamp Course
Speed Typing Game Part 1
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 1
AboutCommentsNotes
Speed Typing Game Part 1
Expand for more info
App.js
run
preview
console
/**
* Challenge: build the basic structure of our game
*
* 1. <h1> title at the top
* 2. <textarea> for the box to type in
* (tip: React normalizes <textarea /> to be more like <input />,
* so it can be used as a self-closing element and uses the `value` property
* to set its contents)
* 3. <h4> ti display the amount of time remaining
* 4. <button> to start the game
* 5. Another <h1> to display the word count
*/
Console
!
"Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s%s"
,
"object"
,
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."
,
""
,
!
Error: Unknown error (/node_modules/react-dom/cjs/react-dom.development.js:411)
,
Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information. (/node_modules/react-dom/cjs/react-dom.development.js:422)
,
/index.html
-2:58