First take condensed milk in a pan.
Turn on the flame and keep it to medium.
Add desiccated coconut and mix well.
Add chopped almonds.
Stir until all ingredients are mixed well.
To set the barfi,transfer the roasted mixture to the greased plate and evenly spread the batter.
Sprinkle the thinly sliced pistachios and almonds and press them gently with a spatula so that they stick to the barfi.