JavaScript Graphics

Back to index


Your browser is broken ASSIGNMENT:
Embedded for-loops are a great way to reduce the length of a script or program. They allow you to get a lot of work done with only a few lines of code. Inspect the example to the left and play around with the code a little to be sure that you understand how it works.

Your assignment is to recreate the design shown to the left. Your challenge is to recreate it with as few lines as possible.