Problem with online experiment - black screen - does not show conditions

currBlock.color = white;

There is no “color” property for these objects. Try this instead:

currBlock.fillColor = white;

Same for a few other instances of currBlock.color throughout your experiment.

If that doesn’t work, or if it’s not currently working for the line color, you could also try:

currBlock.setFillColor(white);

and the same for line color.

1 Like

Perfect! The proof works. I corrected the color part but there was also a problem on the management of the strings and over time that in py works but in js no. I made a string to float parser.
I’m happy. Thanks!