how to change button color when clicked code example Example: change button color html .button { background-color: #4CAF50; }