JavaScript Editor Javascript validator     Website design 



Team LiB
Previous Section Next Section

Challenges

  1. Write a program that generates 4-, 10-, or 20-sided dice (sometimes used in various games).

  2. Write a program that lets the user choose how many sides a die will have and print out a random roll with the appropriate maximum values (don't worry about using images to display the dice).

  3. Write a "loaded dice" program that generates the value 1 half the time, and some other value the other half.

  4. Modify the adventure game from the last chapter so the form and the program are all one file.

  5. Create a Web page generator. Make a form for the page caption, background color, font color, and text body. Use this form to generate an HTML page.


Team LiB
Previous Section Next Section


JavaScript Editor Javascript validator     Website design


R7