In this day and age there are seemingly infinite free online sources available should you be interested in learning how to code. It has never been easier to pick up than it is now.
One place I recommend is a site called w3schools.com.
It has tonnes of tutorials, guides, quizzes and walkthroughs for all the major styles of code and can quickly assist you in becoming well versed in the fine arts of HTML or JavaScript and many other written languages. Did I mention it was free?
There are also plenty of useful YouTube channels if you’re struggling a bit to teach yourself, Khan Academy has a few channels with endless amounts of informative and detailed videos from the basic level to much more advanced techniques and skills. Their computing channel specific to computer science and code is where you’d find what you’re looking for but their main channel, Khan Academy, covers way more than just that, math, science and economics to name a few things.
If you’re looking for a more engaging style of learning though, codecombat.com is actually a fantasy style RPG game that helps teach code, it’s definitely a more fun way of learning and I’m not going to lie. I spent probably a bit too long playing while testing it out.
In summary, code is all around you and more accessible than ever before. Once you get into it and can begin to let your creative juices flow it’s can be quite fun and fulfilling too, although at times frustrating but we don’t talk about that.