scrimba
Learn React
Notes & Tenzies
Tenzies: Die components
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

Tenzies: Die components
AboutCommentsNotes
Tenzies: Die components
Expand for more info
App.js
run
preview
console
import React from "react"

/**
* Challenge:
*
* - Create a Die component that takes a `value` prop
* - Render 10 instances of the Die component (manually)
* - Provide a number between 1-6 for the value on each
* for now
* - Style the <main> and <Die> components
* to look like they do in the slide
*/

export default function App() {
return (
<main></main>
)
}
Console
/index.html
-6:50