scrimba
Frontend Career Path
React basics
AirBnb clone
Props practice
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

AboutCommentsNotes
Props practice
Expand for more info
index.js
run
preview
console
/* Challenge:
One LAST time in this course, set up a React app from scratch
- Render an <App /> component
- App should be in its own file
- App should render 4-5 <Joke /> components
(Joke component defined in its own file too)
- Each Joke should receive a "setup" prop and a "punchline" prop
and render those however you'd like
- Use your favorite 2-part jokes (setup & punchline), or check
jokes.md file for some examples.



EXTRA CREDIT:
Some jokes are only a punchline with no setup:

E.g.: "It’s hard to explain puns to kleptomaniacs because
they always take things literally."

If you don't pass in a "question" prop, how might you make it only
show the punchline?
*/
Console
/index.html
-9:03