Create a component that makes use of the useReducer() hook instead of useState() and that has: 1. The three color option
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Create a component that makes use of the useReducer() hook instead of useState() and that has: 1. The three color option
Create a component that makes use of the useReducer() hook instead of useState() and that has: 1. The three color options are the basic colors of the RGB spectrum (red, green, blue) (Try to randomize the color that gets chosen every time).