I've done both and I'm pretty good at both, black runs etc.
Skiing is easier, plus with the poles you can push yourself along slow runs. You have better speed control on skis and you don't have to sit down once you've stopped, so no getting cold.
Snowboarding is more difficult for a beginner...