// Copy code here and run it!
let i = 0;
while (i < 10){
placeTile('mint')
placeTile('orange')
placeTile('mint')
i++
}
Hi,I don’t know what‘s wrong with my code,please help,thank you very much!
// Copy code here and run it!
let i = 0;
while (i < 10){
placeTile('mint')
placeTile('orange')
placeTile('mint')
i++
}
Hi,I don’t know what‘s wrong with my code,please help,thank you very much!
on this line:
while (i < 10){
your brackets (
and )
are not right, I would recommend replacing them
not sure what you did, but in the editor:
where all the other brackets are colored white, the brackets on line 4 are colored red
Thank you for your help
I corrected my code,and it works!
let i = 0;
while (i < 10) {
placeTile(‘mint’)
placeTile(‘orange’)
placeTile(‘mint’)
i++
}
Thank you very much!