I'm self taught and have been working as a software engineer for a few years now. Maybe I can shed some light on what I've seen from other self taught and career changers I've seen in the industry.
But like the other redditor said, having a CS degree is the best option. It will open many more doors for you. I recommend doing internships at tech companies over the summer. The company I work for gave \~70% of the interns return offers last year (we had about 150 of them, which means at least 100 of them got offers).
It's just a great way to get your foot in the door, there are so many new grad roles with lots of room to move up internally.
If you can't spend 4 years on a degree there are two main routes for you to take, teaching yourself or a coding bootcamp.
Word of warning, it may be obvious, but this takes a lot of discipline, practice, and patience. It really helps knowing other programmers or being a part of a community that can help you out. Which is why I think people pay for bootcamps over doing things themselves. It'll provide you with the structure and environment for learning.
I've mentioned this in this sub before, majority of the self taught / bootcamp grads take a Jr job for less than market rate pay for 1 - 2 years and then they move up to better positions once they've proven they can be a developer.
There are always the ones who land a job at Google after bootcamp or studying, those (from what I've seen) have a STEM degree of some sort. A lot of times it's an engineering degree like EE or ME.
If web development is where your interest is, I recommend taking a course on web development on your own time. Build some CRUD applications, test it out first. Be absolutely sure that you can see yourself doing something like that for a job for the next 5 years.
The fundamentals of CS are also really valuable in this industry. Knowing Data Structures, Algorithms, and how to solve common problems. This is usually what interviews focus on and you can study this alongside web development.
For intro courses there is tons of free content out there:
the odin project: https://www.theodinproject.com/courses/web-development-101
coursera web development: https://www.coursera.org/learn/web-development (you can audit the class for free)
free code camp: https://learn.freecodecamp.org/ (Since you're familiar with HTML, I would recommend them in this order responsive web dev > JS DS/Algos > APIs and microservices)