You can become a web developer without a degree and without paying for an expensive course. What you can't skip is time: several months of regular practice, and a few finished projects that somebody can open and use.
This guide is a plan you can follow: what developers do, what to learn first, how to prove it and how to look for work.
What a web developer does
| Role | Works on | Main tools |
|---|---|---|
| Front end | What people see and touch | HTML, CSS, JavaScript |
| Back end | Data, accounts, payments, rules | PHP, Python, JavaScript (Node.js), SQL |
| Full stack | A bit of both | All of the above |
| WordPress | Sites, themes and plugins | PHP, HTML, CSS, JavaScript |
You don't have to decide today. Everybody starts with the same three languages, and your preferences appear on the way.
The order that works
Stage 1: HTML and CSS
HTML gives a page its structure and CSS its looks. Learn headings, links, images, forms and tables; then layout with Flexbox and Grid, and how to adapt a page to phones. Write by hand before you use any tool.
You are ready to move on when you can copy the layout of a simple page without following a tutorial.
Stage 2: JavaScript
JavaScript makes pages react. Learn variables, functions, arrays, objects, events and how to change a page. Then learn to request data from an address and show it. This is the steepest stage, and where most people give up. Go slowly and write small things: a tip calculator, a list that filters, a quiz.
Stage 3: Git and the command line
Git keeps the history of your work and lets teams share it. You need about ten commands: clone, add, commit, branch, merge, push, pull and a few more. Open a free account on GitHub and publish everything you make from now on.
Stage 4: one back-end language and a database
Pick one. PHP if you like WordPress and small business sites, JavaScript with Node.js if you want to keep the same language, Python if data interests you. Learn to receive a form, check it, save it in a database with SQL and show it again.
Stage 5: put it online
Publish a project on a real domain with HTTPS. You will learn about DNS, servers, permissions and errors that never happen on your computer. If you have never registered a domain, start with how to choose one.
Stage 6: one framework
Only now learn React, Vue, Laravel or whichever appears most in the job ads where you live. Without the earlier stages, frameworks are a wall of magic.
Where to learn for free
- MDN Web Docs: the reference, with a full course for beginners.
- freeCodeCamp: exercises in the browser and certifications.
- The Odin Project: a complete path with projects on your own computer.
- CS50: Harvard's introduction to computer science, also free.
- Learn WordPress: lessons about themes, blocks and plugins.
Choose one main course and finish it. Jumping between five is the commonest way to spend a year without learning.
How long does it take?
It depends on your hours and your background, so distrust anyone who promises a date. As a reference, with ten to fifteen hours a week:
- Months 1 to 3: HTML, CSS and the first part of JavaScript.
- Months 4 to 6: JavaScript, Git and two small projects.
- Months 7 to 9: back end, database and one project online.
- From month 10: a framework, applications and the first paid jobs.
What about artificial intelligence?
AI assistants write code quickly, and employers expect you to use them. That makes the basics more important, not less: you are responsible for the result, so you must be able to read it, test it and see when it is wrong.
A good rule while you learn: try on your own for 20 minutes, then ask the assistant to explain, not to solve. And never hand in code you can't explain line by line.
A portfolio that gets you interviews
Three finished projects beat twenty exercises. Good ones solve a real problem:
- A site for a real person. A relative's shop, a club, a teacher. Ask permission and deliver it.
- A small application with accounts and data. A booking list, an expense tracker, a recipe manager.
- Something you use yourself. Enthusiasm shows.
For each one write a short page: the problem, what you built, one difficulty and how you solved it, a link to try it and a link to the code. Check that it works on a phone and with the keyboard alone.
Finding your first job
- Start close. Local agencies, small companies and former colleagues answer more often than big names.
- Read 20 ads before studying anything else. Write down what repeats. That is your next subject.
- Apply before you feel ready. Ads describe an ideal person. If you meet about half of it, send it.
- Write short messages. Two lines about them, two about what you can do, one link.
- Contribute in public. Fix a typo in documentation, answer questions, go to a WordCamp or a local meetup.
- Prepare to talk about your own code. Most interviews for beginners go there: why did you do it this way?
Freelancing as a first step
Small paid jobs count as experience: fixing a form, moving a site, speeding up a page. Put the price, the delivery date and what is included in writing, and ask for a part in advance. Be careful with what you can't do yet, above all payments and private data.
If you will host clients' sites, choose a service you can grow with. Our managed WordPress hosting lets you pick the PHP version per site and includes daily backups, which saves beginners from many scares.
Mistakes that cost months
- Watching videos without typing.
- Starting with a framework.
- Changing language every two weeks.
- Never publishing anything.
- Ignoring English: most documentation is in English, so practice reading it.
- Working alone. Find a partner, a forum or a meetup.
Frequently asked questions
Do I need a degree?
For many web jobs, no. Some large companies and visas do ask for one. A degree teaches foundations that are useful later; a portfolio opens the first door.
Am I too old?
No. People change careers at every age, and what you know of another trade (accounting, health, teaching) is an advantage when you build software for it.
Do I need to be good at math?
School arithmetic and patience are enough for most web work. Games, graphics and data need more.
Which computer do I need?
Any laptop from recent years with 8 GB of memory works. 16 GB is more comfortable.