Answers for "how to change color of the button"

CSS
1

change button color html

.button {
  background-color: #4CAF50;
}
Posted by: Guest on May-07-2021
0

javascript change color of button

document.getElementById("button").style.background='#000000';
Posted by: Guest on November-13-2020

Code answers related to "how to change color of the button"

Browse Popular Code Answers by Language