...

/

Final Project: Colorful Button

Final Project: Colorful Button

Solve the challenge using the concepts learned so far.

We'll cover the following...

Colorful button

Let’s create a program using a loop and an array of colors. Upon clicking a button, the background color should rotate through the colors stored in an array ["white", "lightblue", "lightgreen", "lavender"].

Each time the user clicks the button:

  • The background color changes ...