Software Development

Do you need computer science basics before web development?

Some web development courses start from zero. Others list programming as a prerequisite. The choice you face is whether to study general computer science first, take a beginner web course that teaches programming as it goes, or skip ahead. This guide gives you the checks that decide it.

The decision in one question

Can you already read a short program and say what it does? If yes, you can go straight to web development and fill gaps as they appear. If no, you need programming basics first, and the open question is only where you learn them: in a general computer science course or inside a beginner web course.

Computer science basics and programming basics overlap but are not the same. Programming basics are variables, conditions, loops and functions. Computer science adds how data is stored and searched, how programs are measured, and how computers and networks work. Web work needs the first set on day one and uses the second set more as projects grow.

Four checks before you choose

Run these in order. Each one takes a few minutes.

  1. Read the course page for a prerequisites line. Courses at beginner level say so, and courses that expect prior programming say that too. Treat the stated level as a promise to test, not as proof.
  2. Open the syllabus and find the first graded exercise. If it asks you to write code in the second week, the course teaches programming as it goes. If the first weeks are all video, the course assumes you will practise elsewhere.
  3. Try one free lesson or audit week. If you cannot follow the exercises after an honest attempt, the course is pitched above your current level.
  4. Check what the course covers beyond the browser: databases, version control, how requests reach a server. If these are missing, you will meet them later, so plan for it.

Three routes and what each assumes

Each route suits a different starting point and a different amount of time you can give.

RouteWhat it assumesWhat you gainWatch for
General computer science firstNo programming experienceConcepts that transfer to any language, including how data and algorithms workWeb topics arrive late, so you may wait weeks to build a page
Beginner web course that teaches programming as it goesNo programming experienceWorking pages and apps early, with programming learned in contextTheory such as data structures and performance may be thin
Straight to an intermediate web courseYou can already write and debug short programsLess repetition and more time on frameworks and deploymentPrerequisites are often listed; skipping them usually shows up in the first graded project

Examples of how course pages describe their starting point

These three reviewed courses show how the same question is answered differently. Facts are as shown on the provider pages when we checked them. They are examples, not a ranking or a recommendation.

CS50x: Introduction to Computer ScienceHarvard (HarvardX on edX) · 4.3 / 5Read review

Harvard's CS50x is introductory and open to people with or without prior programming experience. The page lists C, Python, SQL, JavaScript, HTML and CSS, along with data structures and algorithms. It is listed at 5 weeks at 10 to 20 hours a week, free to audit, with a paid verified certificate at $219. It is broader than web development.

IBM Full Stack Software Developer Professional CertificateIBM, on Coursera · 4.3 / 5Read review

The IBM Full Stack Software Developer Professional Certificate is listed as beginner level with no prior experience required. Its 15 courses run from an introduction to software engineering through HTML, CSS and JavaScript, React, Node.js, Python, containers and a capstone, at about 225 hours by the listed course hours. The page shows 6 months at 10 hours a week and enrolment through Coursera.

Meta Back-End Developer Professional CertificateMeta, on Coursera · 4.2 / 5Read review

The Meta Back-End Developer Professional Certificate is also beginner level with no prior experience required. Its 9 courses cover Python, version control, databases, Django and APIs, at about 225 hours by the listed course hours. The page shows 8 months at 6 hours a week and enrolment through Coursera.

Compare more programs, including ones that list prerequisites, in our ranked list of the best software development courses.

Signs it is time to move on

Stay with fundamentals until you can do the following without copying from a lesson:

  • Write a small program that takes input, makes a decision and prints a result, and fix it when it breaks.
  • Explain in your own words what a function, a list and a loop are for.
  • Use version control to save and undo your work.
  • Read an error message and find the line it points to.

When you can do these, start a web course and build a page. If you stall within the first weeks on the same concept, go back to the basics for a short stretch instead of pressing on. How to read a course syllabus helps with the second check above.

Signs you are over-preparing

Learning theory for months without building anything is a risk too. If you have finished the basics and keep starting another general course, set a date to build one small web page and publish it. Projects show you which computer science topics you actually need next.

If you are still choosing a first language, the guide on how to start learning to code covers that step.

Written by the Best Course Guide editorial team. Course details change, so check the provider's page for current prices and dates. See our editorial policy.

Keep going

Where to go next

The first is the natural next step from this page. The rest follow what you have been reading.

Roadmap

Back-end developer

Builds the servers, databases and APIs behind an app. The route runs from free Python courses to a back-end certificate and DevOps.

Skill

Cloud computing

Cloud computing means renting computing, storage and networking over the internet instead of running your own hardware.

Guide

How to start learning AI from scratch: a beginner order

Learn Python basics first, then machine learning, then generative AI. A beginner order for AI learning, with what to look for in a course at each step and when to move on.

More guides to read