Code itself is not very valuable as well. What has value is the combination of all those things and application of them to some real problem in a form of complete solution.
Its relatively easy to generate "startup ideas", but even with a perfectly reasonable idea at hand the hardest thing is to bring it into life, overcoming every possible obstacle.