>>4436417The principles are the same for both and half of learning photography (composition, framing, balance, etc) you can just do with any camera or phone.
The other half is more technical (exposure settings, focal lengths, etc) and will mostly come from practice.
Digital allows for immediate feedback when shooting, easier post-shooting analysis, and lower cost. You just need to deliberately practice, not spray and pray.