How to use the code editor

I am unable to use the code editor for the correct code also it is showing error please check once