+ 1
let size = 8; let board = ""; for (let y = 0; y < size; y++) {for (let x = 0; x < size; x++) { if ((x + y) % 2 == 0) {
its j.s code that prints a chessboard . I don't understand the code someone should help me explain d code line by line
2 Réponses
+ 7
Charles $now link the comlete code for getting any useful answer. You can simply paste code in codeplayground javascript section and insert the code in your post via insert code option
0
Please show your code here so that we can help you
https://www.sololearn.com/post/75089/?ref=app