programmingMS 2015
Shodor > SUCCEED > Workshops > Archive > programmingMS 2015

In today’s workshop, students were working on a java script project using a canvas to draw shapes, like squares and rectangles (whatever they made it to be), and getting it to move within the canvas. They learned about functions and how to make one, including the argument part that is inputted in the parenthesis of the function. Attributes were also taught along with variables, and where variables can be set equal to something. After their break, they learned how to change a picture in a java script file and how to draw another picture on a canvas in which it can move around by creating another variable using var. After they successfully created a new picture, they learned how to copy a function without using the “=” sign.