![sarai on X: "Day 41 of #javascript| Today: - Made background color change when button is clicked. - Made innerHTML/text of button change when clicked. Video on how I did it below. # sarai on X: "Day 41 of #javascript| Today: - Made background color change when button is clicked. - Made innerHTML/text of button change when clicked. Video on how I did it below. #](https://pbs.twimg.com/media/FcHLvHEWIAAC_dX.jpg:large)
sarai on X: "Day 41 of #javascript| Today: - Made background color change when button is clicked. - Made innerHTML/text of button change when clicked. Video on how I did it below. #
![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
![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)
javascript - How do I change the background color of a DIV with a function using a button with 'IF' conditions - Stack Overflow
![javascript - Change Target Value button to change color for each button from value comparison - Stack Overflow javascript - Change Target Value button to change color for each button from value comparison - Stack Overflow](https://i.stack.imgur.com/06s3c.png)
javascript - Change Target Value button to change color for each button from value comparison - Stack Overflow
![How to change the background color after clicking the button in JavaScript ? | by Ankan Das | Medium How to change the background color after clicking the button in JavaScript ? | by Ankan Das | Medium](https://miro.medium.com/v2/resize:fit:1400/1*H4dqjF6VRPPwu5eZSymRHA.png)
How to change the background color after clicking the button in JavaScript ? | by Ankan Das | Medium
![change background color on button click in javascript Archives - Orange County Website Design Development | Digital Marketing change background color on button click in javascript Archives - Orange County Website Design Development | Digital Marketing](https://www.altdatum.com/wp-content/uploads/2019/10/Change-Background-Shade-On-Click-Button-HTML-CSS-and.jpg)