monodevelop not working

beginner with unity and coding. Started to try the tutorial for beginners and copied the exact code into my environment but it did not work. The colours were completely different of the words and monodevelop was not declaring variables. here is a screenshot pls help.
Tried to restart , but it didn’t work.

So…were you getting errors in Unity or it wouldn’t play?

I don’t use mono, so I can’t say what colors should be displayed.

It looks fine to me in the screenshot.

First, Make sure you have a GameObject in your scene with a light in it. And that that light is referenced in the inspector of the script. You can drag the light from the hierarchy view into the inpector field, or just click the circles right after the inspector field, an select the light from the list.
Also you need to fix the typo in else statement. Where it reads mylightenabled should read mylight.enabled.
Hope this helped.