Starter code and completed code for the codelab on how to validate blocks and display warnings. The completed code enforces that blocks are valid or displays warnings on invalid blocks.