CYF Blocks

Understanding the CYF Blocks interface

Example: Changing text content of an element

Example: Changing attributes of an element

Example: Adding a child element

Example: Removing the contents of an element

Example: Handling mouse click

Example: Reading input

Example: Using variables

Example: Array basics

Example: Adding/removing items to/from an array

Example: Processing array items one by one

Example: Checking if a number is positive, negative, or zero