I'm going to discourage the OP unless he were to live near a ski resort.
There's an adage however, skiing is easy to learn but hard to master whereas snowboarding is hard to learn but easy to master. Of the two, for an infrequent activity, skiing would be the better option.
I can ski but prefer snowboarding. My friends who can do both, also prefer snowboarding. I'm highly skilled snowboarder having lived in some ski towns in my life, where I could get 30+ days on the mountain in a season. That's what you need to get really good and enjoy it fully IMO. If you live near actual ski areas and can go regularly, I would say absolutely yes do it. Many of my top life experiences were on the slopes. I've boarded at 20+ resorts, 5 states, and New Zealand, hundreds of days on the mountains. I went Heliboarding in New Zealand and it was amazing... Here's some pictures I took on the Heliboarding trip, and some others of me at various mountains. I miss living somewhere with excellent mountains for snowboarding since travel has gotten too difficult.
But if you live in a region where skiing is infrequent or difficult to get to, I'd probably suggest something else unless you have significant time and money. The issues are, as a novice, when you factor long travel, expensive lodging, the cost of equipment that gets used infrequently (or rentals), and just daily lift tickets, the cost is many thousands of dollars for a weekend or week. You'll spend significant time and money for your returns IMO.
Example for a family of 4:
Flight 4x$300 = $1200
Lodging 1 week @$200 daily x5 = $1000
Lift tickets x20 @$100 daily = $2000
Equipment $500 each x 4 = $2000
Beginner lessons @$100 x4 = $400
Plus extras ?? $$1000-5000 depending...
That's well over $6000 for a 5 day vacation, plus 2 days travel