As we have added the option of conditions, so add text boxes that will contain the example codes.
You will also have to add buttons to traverse through all example codes.
Buttons :
Run button to run code.
REFRESH button to clear output.
BACK TO HOMESCREEN button to go back to the main screen.
BACK and NEXT buttons to traverse through example codes.
(Note: Place it suitably with a conscience that other elements like description, heading, sub-headings will also be added