BeCode / JavaScript for the Web

1.1 - Color selector

Display three buttons named "Blue", "Red" and "Green" as well as a shaped like a square which should be black by default. When you click on any of these buttons it should change the color of the to the corresponding color.