-
Notifications
You must be signed in to change notification settings - Fork 0
mKoder/js-slider-grid-puzzle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
You have a html page container a slider. Your challenge is: 1) When the slider is moved, draw a grid the size of the slider value. If the slider is set the 3 the grid should be 3x3 2) The grid should be coloured in as a gradient from top left red to bottom right white. So the top left cell should be rgb(255,0,0) and the bottom right rbg(255,255,255) with all the cells in between given a solid colour. The grid container can any size you like. You have been provided with the basic html file and empty js file, with jquery included / available globally
About
Puzzle to draw a grid x by y given a slider input value, and colour the grid in to create a gradient
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published