| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

PhraseOmatic

Page history last edited by PBworks 16 years, 6 months ago

PhraseOmatic

 

Below is the code for a random phrase generator. It uses three lists, counts the number of items on each list, then randomly selects a phrase from each and prints out a phrase.

 

Code the sample

Make it work

customize the code

Add an entry to your DailyLog about the code

Explain what the code is doing

What is new about this code?

 

You should be able to mess with this in some interesting ways.

Change the contents of the words

Add a list of words

make the display look better

 

Here is the code:

Open it in its own tab in Firefox

 

 

Here is my result:

Make yours look better and funnier than mine....

Comments (0)

You don't have permission to comment on this page.