how long does it take to learn front end coding?
It will probably take you 6 months to a year to start getting comfortable with it. As long as you stay persistent and practice, you will get it and it will be well worth the time and effort. Being skilled with Javascript can land you a job also, there are many Javascript Developer positions as well.