In 2015, I taught myself how to code (using free resources) and got hired in 5 months. In 2017, I shared the step-by-step guide I created for myself on Medium to help others. To my surprise, it went viral.
So every year since, I've created an updated version of this guide to ensure it contains the best free resources and the best ways to learn to code and get hired as efficiently as possible.
1,000s of people have now used this guide to learn to code for free & get hired as a web developer, from scratch. You can too.
A lot has changed since last year's edition. But there's one thing that has never changed. And that is the focus on efficiency: learning the right topics that are in-demand right now, so you can get hired as soon as possible.
This guide has the exact steps that you should take if you want to learn to code in 2022, change your career, and get hired as a Web Developer (or get into the tech industry).
Not sure if you should learn to code? Read this post first, then come back here.
If you're a complete beginner, you call yourself a junior developer, or you're curious about this industry, then this post is for you.
Due to popular demand, I also wrote 2 additional follow-up posts that I'd highly recommend you read after you've finished this guide:
If you're an established developer, you will still find some useful links in here as I list the best free resources to level-up your skills. But I also wrote a post on how to become a senior software developer that may be more useful to you.
If you find this post too long, skip over and start from The 5 months: step-by-step section. You’ll hurt my feelings… so know that you'll have to live with that guilt.
Ok, you’re still here. Great! I like you already. Let’s keep going…
Using only free online courses, tutorials, and tools, you can gain a valuable skill that will allow you to be employed in a great industry that is rewarding, challenging, and with a lot of options to move around the world (more on this later).
The best part? You don’t need a college degree or an expensive bootcamp. And you definitely don't need to give away part of your income once you get hired which some new schools are doing via something called an ISA (Income Sharing Agreement). This sounds great until you have to start giving away some of your paychecks.
Important note: This post may seem like it's just a step-by-step guide of what to do to become a developer. But if you look more closely, it's also a strategy you can apply to any sort of learning.
Also... no pressure, but I don't want you getting mad at me for not telling you that if you want a downloadable version, you can sign up below and I'll email you a full PDF version of this guide that includes the month-by-month checklist!
Before we get into the steps you can take to become a developer, we must first dive into why you would want to go down this path. Every decision that will require a significant time of your life should be justified. Time, after all, is the most important resource we have:
A. You want to be working in an industry where there is a high demand for the skill and many possibilities to be in important roles at the top of the food chain.
B. You love being location independent. You want a skill that allows you to go anywhere in the world and still be able to find a job easily. If you decide to move to Iceland tomorrow, you want to make sure that you won’t have issues finding a job.
C. You’ve noticed the difference between 2000 and 2022 and how much technological progress we have made in only ~20 years. You want to be at the forefront of an industry that is impacting the world.
D. The industries that have seen the largest growth in the last couple of years have been in the areas of: artificial intelligence & machine learning, bio tech, autonomous cars, blockchain/crypto/web3 (Bitcoin alone is worth $1 Trillion as I write this). What is essential to all of these industries? Programming (aka coding or development). We interact with these technologies every day and you don't want to be left behind as these take over our future. Becoming a web developer is a great foot in the door to these industries.
E. You think change is good and that learning should never stop. So why not do something new?
But I don’t have a computer science degree and I don’t even know how the internet works! Don’t worry, we will use that to your advantage. Keep reading…
When choosing a new career path here are some must-haves and nice to-haves:
1. It must be relevant for the next 10+ years. This skill should be valued for many years in the future, guaranteeing your job security.
2. Demand for people with this skill must be higher than the supply. The smaller the available pool of skilled workers in the industry, the more control you can have over your job and the companies you choose to work for.
3. Ability to have a high salary regardless of your number of years in the industry. You don’t want to spend many years climbing the corporate ladder before you're able to make a decent living.
4. An industry that doesn’t require a specialized degree from a college or university. You don’t want to spend the next 4 years getting into debt and going to a graduate program before you start making money. And yes, if you want to spend some money to hold yourself accountable and not have to learn alone, there are better alternatives than paying $8,000+ to go to an expensive coding bootcamp.
5. Ability to catch up to the top performers in the industry in the shortest amount of time. Can little experience still get you employed? And can you close the gap as fast as possible to be considered a senior or an expert in the field?
6. It must allow you to build foundational skills that will give you multiple career options no matter what the future holds. For example, by learning to code, you’re able to better understand new upcoming technologies like distributed applications, data science, machine learning (AI), and cloud computing. This allows you to quickly and easily choose which field you want to jump into next.
7. Have fun. This is the most important one. You have to enjoy what you're doing. Can you see yourself doing this 40 hours a week for a long time? If you're still not sure if coding is for you or what a developer even does, check out this post and try the 21-day coding challenge.
In my experience, coding hits every one of the points above. Warning: Your mileage may vary.
One of my favourite books is called So Good They Can’t Ignore You. The author argues that passion is a myth. You shouldn’t go into the travel industry because you are “passionate” about travel. Most people find passion by struggling and working hard to master a skill. Once people start acknowledging your valuable skills and you feel respected for these skills, that’s when you develop a passion for what you do.
Still with me? I haven’t scared you off? Ok, we shall keep going then…
IMPORTANT POINT. READ IT: The first 2 months will feel like you are climbing an insurmountable mountain. Every tutorial, course or lesson you do will make you feel like you are the only person in the world that doesn’t know this stuff.
This is called Impostor Syndrome. The feeling of complete self-doubt.
Stay strong. You will get there and you will have more and more ‘AHA!’ moments as time progresses. Rest assured, we all feel this way when we learn something new. This is good. This is how you know you are stretching your boundaries. It's kind of like doing a really tough workout and your muscles are sore for the next couple days. You know you're pushing yourself and growing when you feel uncomfortable.
What you will learn at the end of this is that being a good developer isn’t just memorizing a whole bunch of documentation. It’s about learning how to solve problems using all of the tools that are available to you. It’s about being a problem solver and getting from a state of not knowing, to knowing. This guide will help you get those skills.
Wow, you’re direct, but I guess that’s a fair question.
First off, I’m a Senior Software Developer that has worked in various locations including Silicon Valley and Toronto at some of the top tech firms. I’ve been very fortunate in my career and over the past few years I've taught 1,000s of people around the world how to become developers from scratch. Many of those Zero To Mastery graduates now work at companies like Google and Amazon. But I wasn’t born a computer wiz. I didn’t graduate with a Computer Science degree. I am completely self-taught.
P.S. This part is all about me, so if you don’t care (totally fair point), just skip this section. I’ll get over it eventually.
It all started many years ago… I wanted a career change and decided to teach myself computer programming.
Unlike what most people do, I spent the first month avoiding any coding tutorials or programming courses or books. Instead, I spent this month figuring out what would be the best way for me to learn code and get hired as efficiently as possible.
I didn't want to waste my time learning outdated technologies that most potential employers didn't care about or learn things that I would never actually use and just forget after a month. I studied other people’s experiences, looked at job postings, spoke to established developers, reviewed online courses, looked at bootcamps, and even read articles by futurists on where we will be with technology in 20 years.
Based on all of that research, I created a curriculum for myself focused on efficiency: The critical amount of learning in order to be employable in the shortest amount of time.
If you love the works of Tim Ferriss as much as I do, you’re going to love this. The curriculum isn’t focused on doing the least amount of work. Instead, it is focused on working really hard at the things that matter most in order to be employed in the most optimum way. This doesn’t mean doing the bare minimum and being hired as a junior developer. If you can work hard and skip the line by jumping straight into an intermediate developer role, that is a better outcome. Luckily for you, I have already sifted through everything for you.
Although I spent one month planning my studying instead of actually studying, it was a benefit in the long run because I wasn’t running blind. I knew where I was going, and I had a clear roadmap to the finish line. You will too.
So yes, I have been where you are and I know what it takes. When I was getting started, I wish there was something like this that outlined things for me step by step. I also found many tutorials were taught by people with a lot of technical knowledge but without being able to properly teach a beginner. Alternatively, some courses were taught by people who took advantage of beginners not knowing much about the industry and selling them a course that sounds great but doesn't actually teach you how to succeed (we call these superficial skills).
I’ve read and studied every single video, tutorial and course that time permitted, and I still continue to do so to try and find the most efficient path to succeed. I'm obsessed with the art of learning and even developed a system around efficient learning.
Since then, I have consulted for Fortune 500 tech companies, ran coding workshops, consulted on published tech books, given technical talks, and I have helped those with zero experience in programming get jobs in just a few months. Mainly because I think bootcamps and colleges overcharge you.
Don’t worry, you can also learn to code for free as you will see below. I am now in a position where I don’t have to work for anybody. I love this career and I think many people would enjoy it and benefit from it as well. So I’m on a mission to help others who want to make this jump no matter what their economic situation, age or background.
Trust me, it is a great community with a lot of demand.
Enough jabber, let’s get started. Below you will find what I believe are the best resources for you to get the most out of your time. By the end of 5 months, you should be able to learn to code for free and land your first real non-entry level programming job. No coding bootcamps. Just you, this guide and your determination.
Important note: I get a lot of requests for a downloadable version of this step-by-step guide so that you can print it off and check things off as you go or be able to send it to your Kindle. Sign up below and I'll email you the full PDF guide with the month-by-month checklist!
We will be focusing on the most employable and in-demand skills in 2022. No time for outdated technologies like PHP or jQuery. There is nothing wrong with them and I have total respect for them. But based on many of the emails I have received over the years from students, a lot of people are in financial need and have families that they have to support. Time is important to you and you want to be employable as soon as possible and learn the most modern skills.
Big question we will answer: How do computers, the internet, and websites work? How can I build a website?
Throughout the months, you'll be building lots of projects. In order to help you, I have compiled a list of assets like free images, icons and logos you can use to make your projects look nice. Bookmark this list of free resources.
Watch the real web developer roadmap to understand the full web developer industry so that you understand how all the skills fit together. When you first watch this, it will seem very confusing. At the end of the 5 months, watch this again and you will see how everything makes sense now. Although this is from 2020, 99% of the fundamentals are there for 2022. We will also explore some of the more modern technologies in the later months of this guide.
Follow this Harvard course on YouTube. This is just pure gold from probably the best computer science instructors there is. No need to do the exercises. They do a new one every year but this one from 2017 is the best version of the lectures. If you have time, you can watch this year's lectures as well... but I still recommend the 2017 one.
How to use the command Line: this book by Zed Shaw.
How to build a website, get a domain, and have it up and running: LearnCode.academy video.
Learn to build websites with Bootstrap. Start with this Bootstrap 5 tutorial then go to the Bootstrap 5 documentation and add components you see there to a sample website. Understand the benefits that it provides vs. writing CSS yourself. BUT... don’t get stuck on this because we want to focus more on the next two which are more employable skills 👇
If you have time, you can do a few of the courses on the HTML and CSS Responsive Web Design sections at freeCodeCamp. It's 300 hours long so I wouldn't say this is the best use of your time but a nice thing to skim through.
Learn Git and Github with this 40 minute tutorial (yes, that’s me 🙋♂️). Create a Github profile and start making commits every day. Start developing a sample website. Use Github pages to put your website online for free. This will be your portfolio. Also use this Git Explorer to practice and then learn more about Git Branching here.
Terminology/Jargon: use this tool.
Big question we will answer: Can I build a professional looking website and understand the entire process?
Google Developer Tools → learn how to debug your programs and websites using Google Chrome. Do this short little course.
Learn about Promises and Async Await in ES7 here.
Download node.js and npm. Download lodash from npm and use browserify to use CommonJS imports. Learn about it in this tutorial. Not many people use browserify anymore, but it's important for you to get the historical context of why it was used. Understand why NPM is such an amazing tool for developers. Now learn about why we no longer use Browserify, and learn about native imports and exports by watching this.
Now using the above knowledge, learn a skill often overlooked by beginners: how to read documentation. Learn to use Parcel by reading their documentation and see how it bundles your code.
Big question we will answer: What problem does React solve?
I’m heavily biased. I love React.js. As a matter of fact, I teach it to others and run workshops on it. So just trust me on this one. React dominates the industry when it comes to job demand. In 2022 this trend is even stronger. There is also Svelte, Angular and Vue.js as an alternative, but you want to stick with React for the best outcome. For example, check out the average salary of a developer that knows React.
If you have the time and you want an even more in-depth tutorial on React, here it is
Optional: Learn Redux → Watch this course. Don’t let your head explode. Then read the documentation for it as well. Learn why managing state is a big problem that all large applications need to solve.
Build a sample React application using create-react-app. Create-react-app will blow you away. It will open up a new world for you. Command Line Interfaces (CLIs for short) are now becoming common practice with all frontend frameworks and lets us set up a project quickly.
Deploy your React app on GitHub pages. In the future, you should deploy all your projects on Github pages to show off in your portfolio.
Deploy your React app on Heroku.
Deploy your React app on Netlify
Start building your online resume. There are people that give better advice than me on this. Check out this blog, this video and this one. Or you can go all out and check out this workshop... but this post is already getting too long and you’re starting to give me evil eyes 👀.
Big question we will answer: Where do servers, databases, and raspberryPis fit into all of this?
Once you are done with this, use a fun API found here to build a simple app.
Subscribe to the computerphile YouTube channel and watch their videos as they come. Even though some topics will be difficult, it will introduce you to some amazing things.
Optional (not "free"): What is a Computer/Server/OS? Buy a raspberryPi. Look up different projects on YouTube that you can do with your raspberryPi. Build a simple script that makes lights attached to your raspberryPi blink. Follow this course. Host your website on the raspberryPi. Be amazed at how cool you are. I know I said this is supposed to be all free, but when I was starting out, doing this was one of the best "Aha" moments I had. It could be for you, too.
Learn basic Web Architecture concepts by reading this article.
If you have the time, spend a day building this chat application using React hooks and sockets. Add this to your portfolio (you did this in Month 2 right?! That website you created and hosted for free on Github pages).
Learn the difference between server-side rendering, client-side rendering and pre-rendering (static site generator).
Start practicing for interviews by trying to answer all of these questions. If you get something wrong, learn why you made that mistake and learn from it.
I can already hear people screaming at me with the above suggestion. "Are you out of your mind?! You don't think X topic is important? Only 1 day for each of those topics?" Hear me out.
Yes, there are many important topics to learn to be a great developer. But we are focused on efficiency: 1) build your foundation and 2) get you hired. Most job postings you will be applying for won't mention skills other than what I'm telling you to focus on. You might as well spend more time learning these additional skills once you are on the job (and getting paid to learn them).
REMEMBER: Your goal is to get employed in the most efficient way. Your learning will grow exponentially once you're on the job so we just need to get to a solid foundation.
By the end of the 5 months, you should have the below requirements completed:
1. Learn HTML and CSS. Then, buy a domain and hosting from a place like BlueHost or HostGator. Get the cheapest option, make a website, and put it online. My personal favourite is Netlify. If you don't want to pay, you can use Github Pages which is free. But if you can afford it, buy one of the above hosting platforms so you understand how they work. This is going to be your portfolio from now on. Learn how to update it and make edits. As you learn new things, continue to make it nicer and nicer. Don’t spend too much time on this. Just enough to show that you’re able to put something online and make it look nice. Focus on having 1-2 really good and big projects in your portfolio instead of 30 small ones that anyone can build in a day (since employers won’t find this impressive).
3. Start pushing your little projects to GitHub. Employers will look at your GitHub profile and how active you are on there. Try to make commits 5 times a week on your personal projects. Also, read through this article and try contributing to some open-source projects like freeCodeCamp or zerotomastery Open Source (we set up the projects here so that you can participate no matter when you join or what your level is. You can read the getting started guide here).
4. Learn to Google and use StackOverflow when you run into problems. 99% of the problems you will encounter when you start out can be found online. You can also join a Discord or Slack server for developers and ask questions when you are stuck and can't easily find the answer on Google or StackOverflow. Here is a Slack group list where you can talk with other developers. The key is to practice solving your own problems rather than just constantly following tutorials (aka tutorial hell) and watching somebody else answer your questions. The best learning comes through the struggle.
5. Become comfortable using a command line to do things. Always have it open when practicing and try using it instead of the GUI (graphical user interface).
7. Attend local (or virtual) meet-ups and start talking to people. You will be overwhelmed and confused by all of the things you don’t know. Don’t worry, this is natural. Just start meeting other programmers and coders so you're surrounded by the lingo and jargon.
9. Start applying to recruitment agencies early. We are going to use them as practice. Most of these have practice interviews with professional coders so they can rank your skills. You are going to leverage these to practice programming questions and ask these experts any questions you want, for free!
10. Start applying for jobs that you are way under-qualified for. You will get some interviews. You should never settle for a job. If you never ask, the answer is always no. See part 2 for more detail on this.
11. Make your LinkedIn profile look nice. Join our group to help endorse your skills. Don’t spend too much time on your resume. Make it one page, make it concise, and write down all the skills you’ve learned in the previous months. Use a prebuilt template like this. Being self-taught shows a lot of courage. Remember that your resume is just to get you an interview, after which, they are as good as paper towels… ok bad analogy because paper towels are very useful. I spent less than 2 hours on my resume. What makes you different than other developers is the fact that you come from a different field and background. How is this going to differentiate you?
12. Interview and be amazed at how employable you are. Not all of them will go well, but then again, not many developers learned everything in the last 5 months. It shows ambition. ONLY apply to jobs on LinkedIn. Spend the rest of your time networking to get referrals and directly emailing, messaging or calling the company you want to work for. Don’t waste your time on the mass job board sites like Craigslist, Kijiji, or Monster.com. I go into more detail on this here. Finally, you can check out this handbook for some technical interview advice.
13. Watch this roadmap again to understand the full web developer landscape and industry (still 99% relevant even though it's from 2020). Now with everything you've learned, you should be able to understand everything in the video and how all the skills fit together. This should give you confidence moving forward.
Most people have an idea that you need to get something 100% before they can move on to the next step. However, for most skills, including programming, the closer you get to 100%, the longer it takes to get there. You only have 5 months. The last 20% will be better achieved by actually working in teams, on real projects (and getting paid). So we are only focusing on getting 80% of the knowledge to use our time efficiently.
Technology is always changing. This is especially true with web development. Things are moving so fast right now that it is impossible to know every single library, syntax, or framework.
What you do need to know is how everything fits together, what each technology is trying to solve and the foundations. Most importantly, you just need to know what exists so you can easily look into it and figure it out when the time comes on the job. Programmers are problem solvers. Learn to solve problems with the tools available to you. Most of us (yes, even senior developers) spend a lot of time on sites like StackOverflow and looking things up on Google. Once you build the foundation of your knowledge, you can go anywhere. You just need to know how to look for answers and ask questions.
Focus on efficiency. The reason most of us give up on a goal is because we don’t see results. By focusing on the things that matter, it makes learning fun. But it doesn’t end here. Learning never stops. Our first goal is to get employed as a developer as soon as possible so that you get to keep learning while getting paid.
Coding gets more and more fun with each passing day and it’s even better when you are getting paid every day to solve problems and develop your skills. The real growth happens when you start working on real projects with real teams. That’s why I strongly believe that you want your initial ‘study’ period to be as short as possible. And you get to avoid going into debt and increase your time in the best environment for learning: working in teams.
I wouldn’t even recommend freelancing to start off. You want to surround yourself in an environment where everybody is smarter than you and you are working everyday with them. From there, be a sponge and absorb all of the information.
We’re building that trunk. When that trunk gets big and strong, and the roots are all put into place, your rate of learning new things will be exponential. You’ll form branches and leaves of knowledge faster and faster with each passing day.
Make 2022 the year that you took a risk, you learned a highly in-demand skill, you were terrified, you had new experiences, and you received new opportunities. Good luck!
I created an online course - The Complete Web Developer - where I personally walk you through all of the entire steps I mentioned above.
You just convinced me I could do this for free, why should I pay for your course?
You're 100% right. But this is an option if you want everything in one place, extra help with your questions and want to be part of our thriving community of thousands of students & developers who are also going through the course and helping each other out every day.
It’s over 200 HD videos and 38+ hours of content. It took an insane number of hours to make, but I’m really proud of how it turned out. I strongly believe it is better than any coding bootcamp (and much more affordable) or any other online course out there. And the testimonials speak for themselves.
Or maybe you just want to support my work by taking some of my intermediate and advanced courses once you use this guide to get hired 🙂. Don't forget to get your company to pay for it. This is another perk of getting hired as a developer... most companies will give you a "learning budget" that you can use to keep developing your skills!
Use this link to take the first 1+ hours for free (no signup necessary).
Due to popular demand, I also wrote these additional follow-up posts to help you go from Junior to Senior:
These days, my full-time job is to teach people to code, get hired and advance their careers in the most efficient way possible as the Lead Instructor of the Zero To Mastery Academy. You can see a few of my courses below or see all of our courses by visiting the courses page.