Heat ghee in a pan, add maida and stir fry for a min. Add in cocoa powder and mix till combined. Set aside in a plate.
In the same pan, add in sugar and water..Now mix well and cook this till 1 string consistency. when you take some of the syrup between your index and thumb finger, you will be able to form 1 string. Check image.
Now take it off the heat, this is very important, Turn off the heat and add in the flour mix in.
Now keep on mixing this, it will take 3 to 5 mins. It will get thick.
At this stage pour this into the greased tray and smoothen the top.