Here we are learning how to create and use code snippet. Often we need to write a piece of code that will be used many times, in that scenario we may keep it as a snippet, goes by definition
You may create this snippet from code pane of any web page, it is saved in a centralized location and from Tool menu you may recall this code to add to your current application.
Creating code snippet

Code Snippet

Note the code snippet we created and can be viewed from tool>page editor

To add this code snippet on a page, you need to the followings

Now if you clicked on do something, code will be pasted on the current coding pane.