js html button that changes backgound color code example Example: javascript change color of button document.getElementById("button").style.background='#000000';