xxxxxxxxxx
let colors = ["red", "orange", "yellow","green"];
function setup() {
createCanvas(400, 400);
console.log(colors);
}
function draw() {
// Step 1: create for loop
for (let i = 0; i < colors.length; i++) {
fill(colors[i]);
circle(20 + i * 40, 30, 50);
}
}