1. Make something up
2. Cook it
3. See if it's good or not
4. Repeat
Idea: Pineapple sausages.
There is the book and Series on Netflix 'Salt Fat Acid Heat' which goes into the ingredients and the science behind cooking. The book is incredibly detailed in parts and explains how to replicate textures and flavours in the cooking procedure itself, when to introduce salt, what to use to balance the flavours, how much of something is required, etc.
prohome cook on youtube is good, he actually explains the stuff behind doing something rather than just telling you what to do.