Next, add onclick="setColor()" inside the button's opening tag.

Make sure to type onclick="setColor()".