I recommend starting by studying free models and analyzing their scripts in detail. Take notes on how the code functions and why certain approaches are used. As you progress, challenge yourself to improve and refine open-source scripts, experiment with different frameworks, and intentionally break scripts so you can practice debugging and fixing them. This hands-on process will strengthen your understanding and accelerate your growth as a developer.
Doesen’t have to be free models, you can easily find open source work made from professional full time developers. However I am suggesting if you are just starting out, you should start with free models so you can understand that simple code and expand your CODEcabulary not something to structure your code off of.