I Feel like I need to reply, because this is exactly the reason why I started to learn coding too.
Coding can give you a sense of freedom other jobs can’t give you, because all you need to code is your computer.
I’m sure you can make it work, as there are a lot of “options” in remote working and good coders are still in high demand (I’m also still a beginner. But the thought of one day working in a remote co-working space in countries like Costa Rica, Bali, Mexico,… keeps me going). Remote work is surely harder than working in an office. You need discipline and the right mindset. You’re not on a holiday. But the freedom & work-where-you-want ,when you want is worth it for me personally. (Especially if you are into slow travelling like I am).
Here are some options for remotework:
-
You can work for yourself freelancing. Sites like Upwork, WeWorkRemotely, remoteok.io,… There are tons of remote freelancing sites and most of them focus on some type of coding. Upwork probably is the best if you are a beginner.
-
Work remote for a company.
This is probably the best option financially. Living in a country that has a cheaper currency compared to the salary in which you are earning (euros or USD). This is called Geo-Arbitrage. You work in an exotic country and you will spend less. And then if you have holiday, you will have enough savings to enjoy.
-
Work for a local company.
Maybe less attractive, but this is probably the first option I am considering. Why not work for a startup in Malaysia, Mexico, Finland, “insert favourite country” 
Finding a remote job as a beginner is hard, but still possible. This option is a lot easier I think.
Work in an office, with a team, but in a different country. You’re still exploring new things, meeting new interesting people, learning new spoken languages, and new programming languages
If you live in Europe this is even easier because you can work in another European country without needing a Visa.
Check out Jobbatical.com website for example.
-
If you just want to travel, and you’re not sure about your skills?
Why not exchanging your skills/service for accommodation & food. (also an option I’m seriously considering).
You’re not getting rich, but you can work for 3 months in Brazil, and then move to Panama or whatever.
Check out Workaway.org for this. And search for “Web Development or web Design”.
Note: I’m not trying to promote any websites. This is just advice. If mentioning these websites are not allowed, I didn’t know, and I apologize 
Like you see, I’m really passionate about this too haha.