My advice: the basics of programming don't require any math past algebra. You want to make websites? You're fine. You want to wire some libraries together and make it so the light turns green when the camera sees motion? You're fine. Basically zero math required. 95% of what a programmer does requires practically zero understanding of math or, honestly, how computers work.
But so many of the interesting things, the complex things, the neat things, these require math in spades. You want to master machine learning? Math by the bucketfull. You want to come up with your own data compression algorithm? Math. Want to implement some sort of physics simulation? Math. Improve on the video codec used to encode those YouTube videos? Math. Want to understand the theoretical parts of computer science? Get into reasoning about computability? Math.
But the thing is, none of those things are necessary to learn to program. You can write programs for your whole career and never come within a mile of anything that requires real mathematical knowledge, depending on what you're working on.
I solve a lot of problems with simple math, usually nothing more than algebra. My job is in industrial automation so I'm programming machines that move IRL. Basic kinematics come into play. Trig is important. Fortunately I work with a great team and the mechanical engineering dept can supply me with kinematic functions that eclipse my ability to derive on my own.
If you want to write software that does any kind of processing of large amounts of data then you're going to want to know probability. If you want to model physical systems that's often done with differential equations. You don't need to take college classes to learn this stuff it's all on the internet now. Check out Khan Academy. College classes often fall short of connecting the dots from the textbook to practical application anyway.
I would recommend that you focus on your code skills first, but don't be intimidated by the math. If you can learn to program you can learn math too. It's a lot more fun when you have a reason to care about it, as opposed to sitting there in middle school thinking "when will I EVER need to know what the unit circle is?"