Skip to content
Home » HTML Color Gradient Table – Problem 02

HTML Color Gradient Table – Problem 02

  • by
Gradient Table

Setup a react project making use of the following link

  1. Create a dynamic table of an arbitarary N rows and M Columns
  2. Both the value of M & N should be parameters received from an html Form
  3. Colour each cell on the table different by dynamically generating RGB values
  4. The colours from cells 0,0 to m,n should linearly increase as a gradient
    with the start color being rgb(0,0,0) and rgb(255,255,255) . Where the numbers are moving from top left corner to bottom right corner in a linear fashion.