Ideas for structured course;
- School AP Java course, AP Computer Science if your school offers it.
- Khan Academy
After you have done a couple tutorials/structured tutorials, then you will have a basic understanding and can dive in on your own (it will be more fun!)
- Todo List
- or anything fun that speaks to you!
Machine learning - Requires Python etc...
Data science - Requires R etc...
Software development - Requires Java, Dotnet etc..
2. Decide on functional vs reactive vs procedural vs object oriented
3. Then start learning the frameworks, which are built by using the language
4. Then do hands on
To do the above, choose a good online tutor like udemy, plural sight etc...
Here is a great place to start learning the basics https://www.w3schools.com/howto/howto_website_static.asp.
As some others have advised, coding and software are very vast fields. If you have a specific end goal in mind, that would be useful in guiding your starting point. However if you are just curious and want to learn how code works I would recommend intro courses that teach fundamentals - either structured or online. Java is a commonly used language to teach fundamentals.
1) MOOC - Massive Online Learning Courses from universities that are accessible for all communities (mooc.org)
2) Scratch - MIT - Visual programming language to practice coding (scratch.mit.edu)
3) NPower - Serve people in underserved communities and veterans with online learning access (https://www.npower.org/)
4) Local public library resources and technology meetups
More importantly though might not be which language you learn, but how you learn it. Khan Academy is a great resource that has already been mentioned, but my personal favorite would be Udemy. The courses there are a bit more in-depth and have more specific guidance. With either one of these, you can learn at your own pace and review topics as many times as you want.