Array Widget

Add arrays (data structure) using the ‘Array widget’.

We'll cover the following

This is what it looks like:

Press + to interact

What do I need to know?

  • With the “+ Append Right” option, you can add a new element at the right end of the array.

  • With the “Append Left +” option, you can add a new element at the left end of the array.

  • With the “Change Orientation” button, you can shift the layout of the array, either horizontally or vertically.

  • You can change the value or color of an element.

    • Click the element and specify the label/text in the text field.

    • Click the element and use the color picker to change the color.

  • You can select the element and click the trash icon to delete it.

See the image below for reference.

Press + to interact