Learning to code can be very very cheap (free mostly)
You can pay for courses and bootcamps but I’d always recommend you try and go the free route.
For starters, you may not even like it so why spend money out the gate?
Secondly, you can find everything you need online.
Here’s a small but powerful list of sites I use that helped me a lot.
Free code camp been around a while and pretty much perfected they’re sauce. And they have a YouTube channel with everything for the video learners.
W3schools is another site that’s been around and has pretty much whatever you need to get started.
Everything is broken down into sections and explained in great detail.
Bitcoin Maston Instance