DJ React

You are a DJ, and are learning to code. All DJ's love buttons that turn squares different colors.


Requirements:


Your DJ color board will use smaller buttons to make your grid of four squares change colors.

This is a great time to practice CSS Grids. Create four squares in a two by two grid that will change color depending on where you are as a DJ. A master DJ will use 8 buttons.

Every level of advancement will use previous levels of requirements, and add to them.


Small time DJ:

You will have one button that will change all four squares either black or white.


Party DJ:

Add a second button. The second will turn the top half (both squares) of the grid purple.


Professional DJ:

Add two more buttons, for a total of four. These next two will change the colors of the bottom squares blue, but individually. One will be linked to the bottom left, and the other to the bottom right.


Big Time DJ:

Your next four buttons will each be linked to one of the squares. These buttons can have any affect on those squares that you wish.


One of the Greats:

Your buttons will play sounds.


THE G.O.A.T.

You will be able to use drop downs/inputs/radio buttons to submit a pattern for your grid to follow over time.


Notes for students and instructors:

This assignment is designed for practice of state and props in React. It would make sense to require a couple of the requirements and have the rest be optional.

The more modularized this exercise is, the better practice it will be. The more components the better, even if it feels contrived.