Devonte202 / do-now-8_1

Unit 8 Lesson 1 Review: Props & State

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lesson 8.1 Review

Essential Question

  1. What is the difference between state and props?
  2. What is the useState hook? What does useState return?

Code Challenge

You will make a MultiLingualGreeting component:

  • It should render as a greeting (perhaps, "Good Morning") in English.
  • Beneath this greeting, there should be a series of buttons.
  • Each button should correspond to a different language (perhaps, "Spanish", "Haitian Creole", and "Portuguese").
  • When a button is clicked, the greeting above should be translated to the appropriate language.

About

Unit 8 Lesson 1 Review: Props & State


Languages

Language:JavaScript 51.9%Language:HTML 48.1%