Blogging? You can do content writing or even content marketing. You can try copywriting if you think of selling.
Coding services? The same hassle as with selling blog management, content marketing and content writing services.
With coding, I would start with B2C things such as templates, plugins. Then I would use my knowledge and try to build a team with capital I would gain by doing the former and skills I learned. Maybe develop something like a UI library.
Content services are doing great in 2 cases:
1. You can deliver mass SEO content with high standards. Here your biggest strength is your maximum output. Your primary weapon are writers or technical expertise (like perfect AI content).
2. You can deliver top notch content for sales, technical and business purposes - you would be able to charge up to $1 per word with a well prepared personal brand.
If everything fails I still got a good skill that can easily get me a good paying job (although I would prefer having my own business)
There is no fail as long as you are alive and your health doesn't break down making you unable to do this. That's how I perceive it.
How can you fail if you deliver a product with the best quality to price ratio on the market? That's just crazy. Figuring that out is not easy and you have to find a very specific niche that will fit your skills and pocket. Yes, pocket cause you need to invest money to code good stuff, think machine learning training or getting designers to have the best work.
If you code something and it doesn't feel like a good product, just tell yourself it was a lesson, a learning process. There's no time wasted learning, so it's win-win situation no matter what happens.
Whenever you can, don't be a one man army. Use as much stuff as you can possibly find on the internet, github and other coding places. Don't assume googling every problem is smart - think. If you think a lot, you will get a sense of gratification. Just don't solve repetitive problems like how to write a loop or a function. Th
ere is a ton of unique, tiny problems in coding which will appear on your way.
On the other hand, using libraries, scripts, ideas, solutions, frameworks and things you can adjust is really smart. Sometimes you will find a full solution (like CMS or CRM) that only requires small adjustments to fit your market. Use boilerplates and someone's else code to focus on the core problem in your software.