To get rid of this insecurity, just practice, practice and practice :D! To gather knowledge of how it works, my advice is to read "best practices / how to" articles, watch tutorials, follow good writers, search encountered issues in your projects and talk with the community. With time, I'm sure you'll gain more confidence in your code.
Again, thank you for the information!
I will definitely look into it.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.