“How to get 6 packs abs”, trying to solve this for at least last 10 years but it’s a really hard problem.
Understanding some basic concepts in nutrition/wellness, such as macros and micros, calories, how Energy Expenditure (keeping you alive, walks, lifting weights, etc) and Energy Storage (Fat, Muscle, etc) all ties in with your unique genetics, body composition and lifestyle goes a long way.
Quick and dirty trick: be at a low Body Fat Percentage and have abdominal muscles (which we all do ha).
As always, abs are made in the kitchen. See: skinny folk
Eating smaller, filling meals helps more. I actually don't know of anyone who's lost weight from salads. Usually they're just left feeling hungry and usually add dressing to compensate (which just gives you completely unfilling calories).