Knowledge is power.
They have a strong work ethic and show up at sessions. The ability to predict the amount of time required to plan, coordinate and complete a task is an important skill. Exceptional programmers are great for managing their clients or leaders instead of the boss managing them.
After learning the basic language's syntax you need to practise them in practicality. Now as you have learned or coded all the basic programs, you need to jump to developing some effective projects of your own using those coding languages. You can get an idea of various projects already made and published online. The main focus of coders is not only to code but to code effectively and with this what I mean is to code as short and simple as you can.
And for getting into freelancing as a coder or programmer you will need to excel your skills in competitive programming too as freelancing in this field will get you to work like developing various projects, websites, or app in some cases for people who hire you.
I find that the harder I work, the more luck I seem to have.