As naive i was as a developer with no professional experience as a engineer. I learned this thing while working with people from the industry
Coding isn't most important part
yes as a beginner you might think coding is what you do as developer. But the the truth is different. You have to first focus on understanding the business logic of the problem being solved. Then making a flow or laying down a approach about how you are going to do it. Then getting it reviewed by a senior or founder or a product manger and team. Then if you have made any mistakes in the flow, you will adapt take suggestions from the team. Then once you have good enough logic you have to decide a stack that is efficient in your use case and cost efficient. Then after all this you will start coding.