Skip to content

Commit a19f8bb

Browse files
authored
Merge pull request #9 from Pavith19/Pavith19-patch-9
Update buttonsGrid.js
2 parents b80e8e8 + 814b3a0 commit a19f8bb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Day 8/Buttons Container/buttonsGrid.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Author: Pavith Bambaravanage
3+
* URL: https://github.com/Pavith19
4+
*/
5+
16
var b=document.getElementById('btn5');
27
var arr=[1,2,3,6,9,8,7,4];
38
b.onclick=function()
@@ -12,4 +17,4 @@ arr.unshift(arr.pop());
1217
document.getElementById('btn7').innerHTML =arr[6];
1318
document.getElementById('btn4').innerHTML =arr[7];
1419

15-
}
20+
}

0 commit comments

Comments
 (0)