telling someone with an idea that they should learn to code is like telling a coder with no money that they should just get rich.
I mean, sure this is possible - but this is not the way to produce a successful outcome (built idea/funded tech company) in either case!