Beginner coding

I could be very wrong and let me know if I am but… am I not doing the same thing in shorter steps here but it wont accept it…? Pic1 = my solution, pic 2 = what the app wants
Screenshot_20210302-110507_Grasshopper|281x500

Hi @Durshaven,
The solution should look fine, but what Grasshopper wants you to do is put all the 3 colors from one line into one line of code. This should look like:

drawBox(colors['0 1 0']);
newLine();
drawBox(colors['1 0 1']);
newLine();
drawBox(colors['0 1 0']);

the ['0 1 0'] means that it draws black, then white, and then black again, and vise versa.
Hope this helps!
-Friidays :blush:

I think that we only can access one element from the array