“Yes, there are such things as best practices in software development, and they have legitimate value, but as a beginner you are not obligated to internalize all of them at once. Just stop worrying about it! Make something you’re proud of, then improve it little by little. Learn one thing at a time and make incremental progress.
Most of all, remember that bad code is always the first step to good code. Never let any experienced programmer tell you otherwise.”