Most successful coders agree you'll need to spend 2-3 hours a day for 6-9 months learning JavaScript and putting what you learn into practice to code at a hireable level. You can dedicate less time and still be successful but remember to adjust your expectations accordingly.