I did it at 33. Changed from animation and VFX to front-end development.
Here's what I did exactly;
* Quit and lived like a beggar for 6 months. It was tough, I burned through all the little savings I had and ended up having to borrow money to pay the bills(Don't do this, keep your job, work like hell at night and weekends)
* I started with HarvardX CS50, a free online course that will help you out immensely initially. I knew very little about coding when I started it. (Do this)
* Build websites and apply for jobs. Junior Jobs. Very, very low paying jobs. I landed one and started getting experience. (Do this)
* Go to coding and tech meetups. (I didn't do this, but should have)
When you have experience doors start opening up for you. Good Luck!