it-AVNG / etch-a-sketch

create a website that function like a sketching pad
GNU General Public License v3.0
0 stars 0 forks source link

Add input square button #4

Open it-AVNG opened 1 year ago

it-AVNG commented 1 year ago

Add a button to the top of the screen that will send the user a popup asking for the number of squares per side for the new grid. Once entered, the existing grid should be removed and a new grid should be generated in the same total space as before (e.g. 960px wide) so that you’ve got a new sketch pad. Tip: Set the limit for the user input to a maximum of 100. A larger number of squares results in more computer resources being used, potentially causing delays, freezing, or crashing that we want to prevent.

it-AVNG commented 1 year ago

change the feature from using button to slider