File tree Expand file tree Collapse file tree 1 file changed +91
-0
lines changed Expand file tree Collapse file tree 1 file changed +91
-0
lines changed Original file line number Diff line number Diff line change 1+ let workers = [
2+ [ "tyler brooks" ,
3+ "$2500" ,
4+ "amature level" ,
5+ "tyler12@gmail.com" ,
6+ ] ,
7+
8+ [ "james spoonky" ,
9+ "$3000" ,
10+ "proffessional" ,
11+ "spoonky@outlook.com" ,
12+ ] ,
13+
14+ [ "emma star" ,
15+ "$1500" ,
16+ "entirely-level" ,
17+ "emma@yahoo.com" ,
18+ ] ,
19+
20+ [ "dennis nicholas" ,
21+ "$5000" ,
22+ "expert(pro)" ,
23+ "dennis@gmail.com" ,
24+ ] ,
25+
26+
27+ [ "mrs.finley" ,
28+ "$1000" ,
29+ "entirely-level" ,
30+ "finley31@icloud.com" ,
31+ ] ,
32+
33+ [ "ms.grace sophia" ,
34+ "$2500" ,
35+ "amature" ,
36+ "grace@gmail.com" ,
37+ ] ,
38+
39+ [ "mark" ,
40+ "$3000" ,
41+ "professional" ,
42+ "Mark@gmail.com" ,
43+
44+ ] ,
45+ [ "emma wood" ,
46+ "$5000" ,
47+ "expert(pro)" ,
48+ "Emmawood35@icloud.com" ,
49+
50+ ] ,
51+ [ "William Tyler" ,
52+ "$3500" ,
53+ "professional" ,
54+ "William65@yahoo.com" ,
55+
56+ ] ,
57+ [ "cheryl watson" ,
58+ "$1200" ,
59+ "entirely-level" ,
60+ "cheryl87@outlook.com" ,
61+
62+ ] ,
63+
64+
65+ ] ;
66+
67+ document . write ( "<table border='1px'><h1>CYBER-SECURITY COMPANY MONTHLY PAYROLL<h1>" ) ;
68+ document . write ( "<tr>" )
69+ document . write ( "<th> S/N </th>" )
70+ document . write ( "<th> Name </th>" )
71+ document . write ( "<th> Amount </th>" )
72+ document . write ( "<th> Experience </th>" )
73+ document . write ( "<th> Email </th>" )
74+ document . write ( "</tr>" ) ;
75+ for ( let i = 0 ; i < workers . length ; i ++ ) {
76+ const element = workers [ i ]
77+ const Name = element [ 0 ]
78+ const Amount = element [ 1 ]
79+ const Experience = element [ 2 ]
80+ const Email = element [ 3 ]
81+ document . write ( "<tr>" ) ;
82+ document . write ( `<td>${ i + 1 } </td>` ) ;
83+ document . write ( `<td>` + Name + `</td>` ) ;
84+ document . write ( `<td>` + Amount + `</td>` ) ;
85+ document . write ( `<td>` + Experience + `</td>` ) ;
86+ document . write ( `<td>` + Email + `</td>` ) ;
87+ document . write ( "</tr>" ) ;
88+
89+ }
90+ document . write ( '</table>' ) ;
91+
You can’t perform that action at this time.
0 commit comments