There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
There are quite a few ways to do this. Based on your previous thread, I'd try something like this:
Open in new window
Kent