April 16, 2010
Tutorial: Custom Poem
A good candidate "first program."
The bits of wisdom are generated madlibs-style, by inserting a random choice out of of a list of words for each of several spots. A simple idea, but the resulting poems are incredibly entertaining to the 3rd-6th grader set.
So we will definitely follow up with the more-advanced (but conceptually the same) dynamic-poem.html (view source) that uses jQuery instead of document.write. That gives the poem the ability to change itself over time.Posted by David at April 16, 2010 05:50 AM
|Copyright 2010 © David Bau. All Rights Reserved.|