Start career after 40

Remote work would solve your first issue, of being able to work at home. That does not require becoming a programmer. What are you already good at? Family responsibilities often require a lot of communication skills, logistics planning, and virtual assistance. Those are a lot things that are already very valuable, without programming.

As far as becoming a programmer, it is helpful to already have something else going, like I said above. Both to take pressure off learning to code, and to make you aware of what people need. When you write code without knowing what people need, it is very hard. It is like walking in the dark. A lot of why individuals join companies is because others on the team know what to do, and why, and who the work matters to.

As far as programming itself, what have you done so far?

Many if not most of the best programmers are self taught, but you need to know why you want to be a programmer, and it is not just about a job. Like with becoming a seamstress or fisherman: do you love clothes? Do you love the water? Same is true for programming. There are many thousands of types of programmer. Which are you?

There are also many non-coder programming roles. Since you joined within the hour, perhaps share something about yourself and we can understand you better. What area of the planet are you from now, and where do you want to be? What experience do you have? What do you dream for the future? Do you have a supportive household or community around you? These are all factors. Everyone is different.

Also: how much time do you have? How much time per day to concentrate? How many months or years before you get real results? How long do you want to be working? Most of the best programmers want to write code until even after they die. And most people contribute time to Open Source so they can at least learn, and do real work, not just write code to learn only, but to have impact and gain experience and confidence. But all this takes time. Doing quizzes and exercises only goes so far. But getting real experience is tricky unless you volunteer at first… but to do that, you need to believe in the work… and be motivated beyond just a pay check.

Welcome to the freeCodeCamp forums!