![How to use an array of colors to change the button background color on the button press using one handleChange (Hooks) - DEV Community How to use an array of colors to change the button background color on the button press using one handleChange (Hooks) - DEV Community](https://res.cloudinary.com/practicaldev/image/fetch/s--DzcrX9zG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yxbnqem712yua89pgjhz.png)
How to use an array of colors to change the button background color on the button press using one handleChange (Hooks) - DEV Community
![Change Background Shade On Click Button - HTML CSS and Javascript - in 2022 - Orange County Website Design Development | Digital Marketing Change Background Shade On Click Button - HTML CSS and Javascript - in 2022 - Orange County Website Design Development | Digital Marketing](https://i.ytimg.com/vi/xF-xR22oEbY/maxresdefault.jpg)
Change Background Shade On Click Button - HTML CSS and Javascript - in 2022 - Orange County Website Design Development | Digital Marketing
![javascript - How do I change the background color of a DIV with a function using a button with 'IF' conditions - Stack Overflow javascript - How do I change the background color of a DIV with a function using a button with 'IF' conditions - Stack Overflow](https://i.stack.imgur.com/ChgY8.png)