Click Code Snippet as indicated by the arrow in the figure below.
A code editor opens.
Name your code snippet with a filename as indicated by the arrow in the figure below.
Start writing the lines of code on the code snippet editor.
Note: The code snippet editor autodetects the programming language that you write.
Click SUBMIT as indicated by the arrow in the figure below.
To Select a particular programming language (which code snippet supports).
Click the dropdown arrow as indicated by the arrow in the figure below.
The dropdown window opens.
Select the language that you want to write the code with.
Now you can start coding with your selected programming language.