- 4

I want to display grid tree columns. I have error line 18. Thanks you sir.

display tree columns grid items. https://code.sololearn.com/WdBXYiWele7i/?ref=app

6th Aug 2021, 5:33 AM
Malick Diagne
Malick Diagne - avatar
1 ответ
0
try this button.addEventListener ("click",function myFunction () { var el = document.querySelector (".grid-container") ; el.style.gridTemplateColumns = "50px 50px 50px";}); On line 18
6th Aug 2021, 9:33 AM
Pariket Thakur
Pariket Thakur - avatar