How to be a professional software developer:
0 Write code
1 Run it
2 Got errors? Google "error" or ask ChatGPT
3 Copy code from a random Blog/Forum/ChatGPT
4 Pray
5 Paste
6 Run again
7 Still got errors?
8 Cry (dream about Carpentry) and go to # 2 until it works.