Learning how to code is like anything else. At first you feel lost, but then you realise you are making progress without noticing it.
You will go onto help pages and find you understand the answers better than you did. You'll start doing things without having to look them up. And you'll know the right questions to ask.
This community is great because it's so collaborative. There are so many people out there asking and answering questions, so you'll never feel alone.
You'll also always find multiple solutions - developers seem like they love a good debate!
Keep trying new things, and if something doesn't work, remember that figuring out why and fixing it is a part of the process.
Also, new methods and techniques evolve all the time, so you will never be sure there isn't an even better way out there …
If you aren't making mistakes perhaps you need to be more adventurous! Figuring out why things go wrong is the best way to create those neural pathways :)