✓ Kizspy.me
Coach code Coach name Position Years of experience
Figure 1. Interface of page
(When the web page runs, if the interface is not the same as above, will not be considered for grading)
•
Assume users fill the values for the textfields, when users click "ADD" button:
a. Check exist: If list of coachs (table) exists an item containing the coach code (input into the
texfield), show the error text "Coach existed!". (1.0 point)
When input strings and choose an option
After clicking the "ADD" button
Enter coach code:
C01
Enter coach name:
Alex Ferguson
Enter coach code:
Enter coach name:
C01
Alex Ferguson
Choose an position:
O Goalkeeper Fitness Head
Choose an position:
O Goalkeeper Fitness Head
Enter years of experience: 20
ADD
Enter years of experience: 20
ADD Coach existed!
Coach code Coach name Position Years of experience
C01
Alex Ferguson Head 20
Coach code Coach name Position Years of experience
C01
Alex Ferguson Head 20
Figure 2. Check exist for coach
Otherwise, make the request b.
Note: If code, name, position, years of experience are not displayed after pressing the "ADD" button (As
shown in figure 2), 0.5 points will be deducted.
b. Click the "ADD" button, add the result to table as shown below (1.5 point)
Zoom
+ 100%
Close