There are many ways to learn to code these days. Get a personalized answer when you. Are you are experiencing a similar issue. From coding bootcamps like Flatiron School to online courses to totally free beginner resources.
But the most important one is you, the best way to learn to code depends on many factors. See what course is best for you.