File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
17 - Sort Without Articles Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 59
59
obj . band = obj . band . replace ( / ^ t h e | ^ a n | ^ a / i, ' ' ) . trim ( )
60
60
} )
61
61
62
- console . log ( cloneBands ) ;
63
62
phantom = phantom . sort ( ( a , b ) => a > b ? 1 : - 1 )
64
- console . log ( phantom ) ;
65
63
66
64
cloneBands . map ( obj => {
67
65
phantom . forEach ( ( item , idx ) => {
68
66
if ( item === obj . band ) result [ idx ] = obj . src ;
69
67
} )
70
68
} )
71
69
72
- console . clear ( )
73
- // console.
70
+ result . forEach ( value => {
71
+ var li = document . createElement ( 'li' ) ;
72
+ li . innerHTML = value ;
73
+ document . getElementById ( 'bands' ) . appendChild ( li ) ;
74
+ } )
74
75
75
76
</ script >
76
77
Original file line number Diff line number Diff line change 20
20
14 . [x] ~~ JavaScript References vs. Copying~~
21
21
15 . [x] ~~ LocalStorage~~
22
22
16 . [x] ~~ Mouse Move Shadow~~
23
- 17 . [ ] Sort Without Articles
23
+ 17 . [x] ~~ Sort Without Articles~~
24
24
18 . [ ] Adding Up Times with Reduce
25
25
19 . [ ] Webcam Fun
26
26
20 . [ ] Speech Detection
You can’t perform that action at this time.
0 commit comments