Unit 3

  • Create a form that has four input fields named word1, word2, word3, and word4 (NOTE: recommend using all lower case), as well as Reset and Submit buttons.
  • In the same file, create a script that validates the following
    • All four words are entered
    • All four words are between 4 and 7 characters long
  • Once all of the words have been validated, use the strtoupper() and str_shuffle() functions to produce four jumbled set of letters.

 

Jumble Maker

Please enter four words below.

The words must contain no numbers.
The words must be between 4 and 7 characters in length.

Word 1:
Word 2:
Word 3:
Word 4: