How much did you earn entry level as a software engineer after self teaching?
And how long did you self teach?
Got a starting salary of about $70k.
I went at it for about a 2-3 years, but really took off when I took it seriously for about 1-1.5 years day and night. A lot of udemy, but really the most you'll learn is by actually building something. Start building something, when you run into something google questions like "How do I do <what you're trying to do> in <insert language>?" That will get you a portfolio of projects which is your ticket to getting a job. Best way to build projects imo is by thinking of something you want to work on, maybe something that'll help make your life easier or that you'd be very cool to build.
I'd suggest starting with HTML, CSS then some Javascript (enough to know how to change some CSS classes), then pick up something like React. You can use udemy for that "initial" learning phase to get an intro to it. If you want to get into apps, then learning Swift may be all you need.