Create a JavaScript Colour Picker

admin

Administrator
Staff member
Halo! I got a question in the following:

Create a table with sixteen table data cells, each cell will have background color set to a different pre-de-fined colour. Sixteen will be : black.. silver.. white.. maroon..red.. purple ..etc..

question one: i have to write a script to let the user clicks one of the colors in the table data cell and it would change the background colour depending which colour the user choose.

question two: check to see that the colour picker's current colour scheme does not conflict with the new selection and deal with it gracefully.


Anyone help ~~ ?

;)
 
Back
Top