PRJ302_-_FA_2024_-_PE_-_s_-_8_2881.webp
Minh Phúc2

PRJ302_-_FA_2024_-_PE_-_s_-_8_2881.webp

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
After clicking the "EXECUTE" button
Enter a string (str): Hello
Enter a string (str): Hello
Choose an option:
Length of string
Choose an option:
Result:
Length of string
Result:
EXECUTE
String str
Option
Result
EXECUTE
Execution existed!
Hello
Length of string 5
String str
Option
Result
Hello
Length of string 5
Otherwise, make the request b.
b. Execute: (1.5 point)
=>
Zoom
100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRJ302
Thêm bởi
Minh Phúc2
Ngày thêm
Lượt xem
1,348
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRJ302_-_FA_2024_-_PE_-_s_-_8_2881.webp
File size
206.2 KB
Dimensions
1920px x 748px

Share this media

Back
Bên trên Bottom