Hướng dẫn thử thách
1 / 1
Build a Color Picker App
**Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab.
**User Stories:**
1. You should define and export a `ColorPicker` component.
1. You should use the `useState` hook.
1. You should have a `#color-picker-container` element with a white background.
1. You should have a `#color-input` element which should be a `color` input.
1. Your `#color-input` should be a child of `#color-picker-container`.
1. When `#color-input` is changed, `#color-picker-container` should have its background set to that new value.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.html
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵