The most successful developers and companies don't focus on writing the perfect code. Nor having the best infrastructure. Their main focus always is to create value.
Create value means solving the problem. No one cares if your app has the most best-written code if it doesn't solve the problem it promises to solve.
If you are learning to code your value is the result of your code and not the code itself. Don't get me wrong this doesn't mean you have to write the spaghetti code but you can follow Addy Osmani's quote:
“First do it, then do it right, then do it better.”
Don't measure your improvement for the code you write today, do it by the code you wrote six months ago.
Don't compare your code with any other person than yourself.
I want to help you get better at coding, let me know in the comments or by DM what are your fears or blockers. I'll be happy to help and give you tips.