Posts by Caio Alexandre • 16 points
2 posts
-
0
votes2
answers235
viewsA: Chess board css
casas = 4 for(i=0;i<casas;i++){ for(j=0;j<casas;j++){ if(i%2 ==0){ if(j%2 == 0){ tabuleiro.innerHTML += "<div class='black'></div>" }else{ tabuleiro.innerHTML +=…
cssanswered Caio Alexandre 16 -
0
votes2
answers65
viewsA: How to APPEND a automatically created component, not finding the element ID
To affect elements in html that did not exist in DOM initially (dynamically created) you can use Document before and then find it by div. With that he will search inside the document current and you…