License Plate Factory
|
ASSIGNMENT: There are two interesting things you should look for in the sample code:
1) can.addEventListener('click',newOne, false);
2) c = Math.floor(Math.random()*26); The rest of the applet should be quite intelligible at this point. Your assignment is to create a canvas area containing a 3x3 array of license plates which all update each time the canvas area is clicked. Additionally, make the letters and numbers of the plate display in a color selected randomly from a pool of at least six colors. |