String str Option Result
Options:
Consonant characters.
Length of string.
(When the web page runs, if the interface is not the same as above, will not be considered for grading)
Assume users fill the value for the textfield (called str), when users click "EXECUTE" button:
a. Check exist: If list of execution (table) exists an item containing the str string and option, show the error text "Execution existed!". (1.0 point)
When input string and choose an option
Enter a string (str): Hello
Choose an option:
Result:
EXECUTE
Length of string
After clicking the "EXECUTE" button
Enter a string (str): Hello
Choose an option:
Length of string
Result:
EXECUTE
Execution existed!
Zoom
+ 100%
Close