Drawing Boxes explainer


#1

The aim of this puzzle: Draw two blue boxes.

Walkthrough of the solution: In the code view, the puzzle starts with:

drawBox(blue)

Tap below drawBox(blue) to bring up the keyboard. Then tap the drawBox() key. To tell the computer what color to make the box, tap the blue key.

Sample code solution:
(Tap below to reveal)

drawBox(blue);
drawBox(blue);

JavaScript Concepts: Calling Functions
Grasshopper Concepts: drawBox()