I have the following blocks:
I want to create a shopping list, where all the ingredients are listed.
Before, a function should check each meal (like "Kartoffelsuppe", "Erbsensuppe" ... ) if there exists same ingredients like "Wasser" and add them together.
The result should shown as a list like:
- Kartoffeln: 500 Gramm
- Erbsen: 775 Gramm
- Möhren: 375 Gramm
- Wasser: 4 Liter
I am thinking about it for a whole week and tested around but don't get it ...
Do you have any idea?