The best online coding courses in 2024

A man coding on a laptop on one of the best online coding courses
(Image credit: Getty Images)

The best online coding courses are convenient and flexible, making them a great way to master in-demand skills if you have other commitments you need to work around. Whether you plan to develop a career in programming or web design or just want to add an extra string in your bow, there are plenty of options to choose from.

It can be hard to decide where to start, so we've selected our own pick of the best online coding courses to help you narrow down your search. To compile our list, we've compared the curriculums, materials and student reviews offered by a range of online coding schools, focusing on the school as a whole rather than just one course. We've noted the pros and cons of each and provided links to their sites where you can find out more and see the full range of courses they offer.

Once you've chosen an online coding school, you might want to make sure you have one of the best monitors for programming to help minimise eyestrain while you study. We also have a guide to the best laptops for programming. And if you're looking to gain new knowledge and skills in other high-demand areas, check out our essential online UX design course.

The best online coding courses to start today

Why you can trust Creative Bloq Our expert reviewers spend hours testing and comparing products and services so you can choose the best for you. Find out more about how we test.

Screengrab from Coursera, provider of some of the best online coding courses

(Image credit: Coursera)

01. Coursera

The best online coding courses for academic rigour

Specifications

Price: From free
Topics include: Coding fundamentals, Python, Java, game development
Free trial: 7 days

Reasons to buy

+
University-generated material
+
Many courses are free
+
A large range of topics and courses

Reasons to avoid

-
Paid courses only have a short free trial

For a well-regarded, academically rigorous coding course, we highly rate Coursera. The site was founded by Stanford professors, and continues to work with universities, colleges and corporations to offer a comprehensive suite of courses, degrees and specialisations. Coursera has a good number of free coding courses on offer (though you'll generally have to pay if you want to receive the final certificate).

The platform has almost 300 online coding courses, from Python and Java to C and C++. There are some good beginner-level coding courses – we'd recommend looking at 'Web Design for Everybody: Basics of Web Development & Coding' from the University of Michigan if you're starting from scratch. More advanced users may want to try something like IBM’s 'Applied AI with Deep Learning' course. Wherever you are on your coding journey, we've found Coursera to be a superb choice for learning new coding skills.

Screengrab from Pluralsight, provider of some of the best online coding courses

(Image credit: Pluralsight)

02. Pluralsight

The best online coding courses with fun and quirky videos

Specifications

Price: From $29/£24 per month
Topics include: Python, Ruby, Java, HTML, C++, software development, IT Ops, cyber security, machine learning
Free trial: 10 days

Reasons to buy

+
Quirky, fun approach
+
A huge number of courses
+
High-quality content 

Reasons to avoid

-
Short free trial

Of all the providers in our guide to the best online coding courses, Pluralsight may strike you as having the most attractive site. We love the platform's clear, easy-to-use layout. Course content is also top-notch in our experience. You can set up a 'path' through a number of different courses to give yourself a comprehensive grounding in multiple subjects, or just opt for a single course on one topic.

We also rate the videos, which have a kind of quirky charm to them. Some users have compared the experience to watching Bill Nye, which is a solid recommendation in our book. It certainly beats a lot of the quite dry resources offered by many online course providers. The way it works is pretty simple – you view the video, then work on your tasks, checking back in with the video for pointers if needed. There's also a system whereby you can earn points in classes to 'buy' answers, providing a handy lifeline if you get truly stuck. 

A screengrab from Udemy, provider of some of the best online coding courses

(Image credit: Udemy)

03. Udemy

The biggest range of coding courses around

Specifications

Price: From free
Topics include: PHP, Sass, JAMStack, React, Vue.js, MySQL, Django, Python, WordPress
Free trial: 7 days

Reasons to buy

+
Huge range of topics
+
Affordable prices
+
Some courses are free

Reasons to avoid

-
Platform not coding-focused

Udemy offers a truly huge catalogue of online courses on all kinds of topics. And while it isn't explicitly coding focused, it has the biggest selection of online coding courses we've seen, with over 500 JavaScript courses and close to 1,000 Python courses. Whatever area of coding you're looking to learn about, we're pretty confident that you'll find a course for it. 

While the vast number of courses available (over 210,000 at the time of writing) does make it tricky to dig out the good stuff, if you have a little patience and willingness to sift through what's there, you're highly likely to find something that fits what you're looking for. The price range is as broad as the range of courses, running from free to hundreds of dollars, so there's something for every budget, although of course how much you pay will often show in the completeness of the course.

Screengrab from Free Code Camp, provider of some of the best free coding courses

(Image credit: Free Code Camp)

04. Free CodeCamp

The best free online coding courses

Specifications

Price: Free
Topics include: Responsive web design, JavaScript, Python, front-end development, data visualization, APIs and microservices, coding interview prep
Free trial: Not needed

Reasons to buy

+
Free coding courses
+
Offers certification
+
Industry-focused

Reasons to avoid

-
Can be hard to choose the best option

One of the best resources for those who want to learn to code without spending anything, Free Code Camp is a non-profit interactive learning platform. It offers more than 6,000 tutorials, and the people behind the site claim that it has more than 40,000 graduates working at tech firms, including giants like Microsoft and Google. 

The learning at Free Code Camp is based on an integrated code editor. This lets you save as you go and starts you off with a thorough grounding in the basics. The courses on offer do offer certification, generally requiring you to build five required projects to prove you've mastered the relevant skills. There are courses focused on responsive web design, machine learning, JavaScript algorithms and loads of other topics. We find it to be well designed to fit around other commitments and a good option to gain a grounding in the skills you need for coding jobs.

Screengrab from the Shaw Academy, provider of some of the best online coding courses

(Image credit: Shaw Academy)

05. Shaw Academy

The best online coding courses for making your first app

Specifications

Price: From £49.99 /month
Topics include: Web design, web development, mobile app development, coding for kids
Free trial: 28 days

Reasons to buy

+
University certified
+
Range of courses
+
Cheap

Reasons to avoid

-
Platform not coding-focused

Shaw Academy offers a suite of coding courses, and they're pretty popular – the Web Design course has more than a million graduates. Certified by Austin Peay University, the academy's courses are mainly pitched at beginners, and they're well placed for anyone who's just starting out on their coding journey. There are courses in Python programming and even a coding for kids course.

We'd particularly recommend looking at Shaw Academy if you're looking to create an app, as the coding and technology class covers this specifically. There's also help on offer for making a website using HTML, CSS and JavaScript. Best of all, a generous free trial period of four weeks gives you a good long time to try a course out before deciding if you want to sign up. If you do, there are a few different payment plans available. 

MIT xPRO, one of the best online coding courses

(Image credit: MIT xPRO)

06. MIT xPRO Professional Certificate in Coding

One of the best online coding courses for recognition

Specifications

Price: $7,450
Topics include: full-stack development, web applications, APIs, portfolio development
Free trial: No

Reasons to buy

+
Highly recognised certification
+
Focus on developing a portfolio for prospective employers
+
Broad curriculum

Reasons to avoid

-
Relatively expensive
-
Fixed timetable with heavy workload

If you want to take an accredited coding course from a highly regarded institution, they don't get much more widely recognised than the MIT. This is an online coding course with set start and completion dates, so it's not as flexible as some options on our list, but it gets you a recognised name for your CV and a thorough grounding in full-stack development. 

This online coding school is hosted by Emeritus, who provides the career preparation part of the programme. There's a part-time certificate (15 to 20 hours per week) that takes eight months to complete, so this is a bigger commitment than some of the other courses on this list. It's not cheap, at $7,450, but it's reasonably priced considering how much a course at MIT can cost. If you're in US, there's a range of financing options.

screengrab of Tuts+, provider of some of the best online coding courses

07. Envato Tuts+

Free online coding courses and more

Specifications

Price: Free
Topics include: HTML5, JavaScript, PHP, WordPress, Adobe XD, app development
Free trial: No

Reasons to buy

+
Decide how to learn 
+
Range of topics
+
Courses are free

Reasons to avoid

-
Platform not coding-focused

Envato Tuts+ is a broad training platform that offers courses on various aspects of design, from coding and web design to 3D and illustration. There are thousands of free courses, guides and how-to tutorials. While Envato Tuts+ is a fantastic resource for design knowledge in general thanks to its vast range of content, at the same time this does make it sometimes difficult to find a course that interests you, since courses range from very brief introductory guides to more advanced courses. But if you take the time to rummage around, you'll find a wide range of free courses on JavaScript, React, PHP, Laravel and more.

Screengrab from Skillshare, provider of some of the best online coding courses

(Image credit: Skillshare)

08. Skillshare

The best online coding courses for niche areas

Specifications

Price: Price: from free; paid access from $32 per month
Topics include: CSS, HTML, JavaScript, WordPress
Free trial: one month

Reasons to buy

+
Taught by industry pros
+
Mobile app
+
Some courses are free

Reasons to avoid

-
Platform not coding-focused
-
Monthly subscription

If you're looking for something more specific, Skillshare is a subscription-based service that offers thousands of courses in different subjects. Many of its best coding courses are taught by world-class web developers such as Rachel Andrew, Christian Heilmann, and Jenn Lukas. Courses come complete with supplementary materials created by the instructors, and they include projects for you to apply your new skills to. There's also an iOS or Android app, which we've found to be a convenient option to stream courses on the go.

There are some free courses, and you can get a premium subscription for free for a month, but there's a monthly fee of $32 after that.

Photo from General Assembly, one of the best online coding courses

(Image credit: General Assembly)

09. General Assembly

The best online coding courses for live learning

Specifications

Price: From free
Topics include: HTML, CSS, JavaScript, Python, WordPress
Free trial: No

Reasons to buy

+
Live lectures
+
Recordings available
+
Some courses free

Reasons to avoid

-
The timezone issue

Prefer the idea of live coding workshops? It might sound like an anomaly these days, but General Assembly organises livestreams, ranging from 'Intro to coding' to 'Python Programming Crash Course'. Some of them are free but most are paid for. To access them, you need to buy an e-ticket and then log in to the live stream when it starts (just be aware of timezone differences!). 

For those who lack the motivation to learn at their own pace, live workshops offer a good way to 'force' yourself to learn. On top of that, having something in the calendar means you're more likely to find the time to do it. If you do miss the class, however, you'll usually be able to get hold of a recording later.

Photo from Udacity, provider of some of the best online coding courses

(Image credit: Udacity)

10. Udacity

The best online coding courses for in-demand skills

Specifications

Price: From free; nanodegrees from around $399/£299 per month
Topics include: C++, blockchain, React, Cloud DevOps, iOS, Android, Python, JavaScript
Free trial: 7 days

Reasons to buy

+
Clearly defined courses
+
Nanodegrees
+
Some courses free

Reasons to avoid

-
Nanodegrees not cheap

Udacity offers solid guides on many different subjects, with a big selection of free courses. It also has a range of 'nanodegrees', which cover in-demand skills. One part of the structure that we've found very useful is that all of Udacity's coding courses are summarised before you begin, outlining the difficulty level, why the course is important, any prerequisites for taking it and the project you'll complete at the end. It's good knowing exactly what to expect.

Screengrab from Treehouse, provider of some of the best online coding courses

(Image credit: Treehouse)

11. Treehouse

The best gamified coding courses

Specifications

Price: From $25 per month
Topics include: HTML, CSS, JavaScript, Ruby, JavaScript, Python, UI/UX
Free trial: 7 days

Reasons to buy

+
Gamified for motivation
+
Led by industry pros
+
iPad app

Reasons to avoid

-
Short free trial

Treehouse aims to make learning fun. The structure is simple: learn from the video courses (which are regularly refreshed to reflect industry changes), practise your new skills through quizzes and challenges, and earn badges to reflect the skills you've already mastered. We found this gamification is actually very well designed and can really help to motivate learning.

It also has one of the most comprehensive libraries of educational materials on this list. Not only does it offer a large variety of coding courses, but it also includes 'workspaces' where you can try out new projects in your own time and a library with videos of talks from industry professionals. It offers an iPad app to continue your learning there, too.

Screengrab from Codecademy, provider of some of the best online coding courses

(Image credit: Codecademy)

12. Codecademy

The best online coding courses for fun challenges

Specifications

Price: From free; Pro account from $19.99/£15.99 per month
Topics include: HTML, CSS, JavaScript, Python, SQL
Free trial: 7 days

Reasons to buy

+
Easy to set up
+
Features fun challenges
+
Some courses free

Reasons to avoid

-
Top features require account

Codecademy is another fun option. It's a free source of coding courses that's easy to set up, and it allows you to create goals for yourself and find the skills you want to learn. These may range from applicable things like creating a portfolio site to silly, fun things like animating your name or building a CSS galaxy. There's also a paid Pro version, which gives you access to exclusive quizzes, projects, and customised learning paths. 

Screengrab from Sitepoint, provider of some of the best online coding courses

(Image credit: Sitepoint)

13. Sitepoint

The best online coding courses for a clear pathway

Specifications

Price: From $9 per month
Topics include: HTML, CSS, JavaScript, Python, WordPress, DevOps
Free trial: 14 days

Reasons to buy

+
Clearly defined journeys
+
Learn at your own pace
+
Great supplementary materials

Reasons to avoid

-
No free courses

Sitepoint offers a range of 'paths' to follow to learn particular coding skills. These offer a clear journey through a specific subject, such as HTML and CSS, Angular, or JavaScript. You follow these online coding courses at your own pace to complete your goals. Sitepoint also offers a range of books, courses and screencasts to supplement your learning.

Illutration of robots baking a cake at Code a Cake, provider of some of the best online coding courses

(Image credit: BT)

14. Code a Cake

The best online coding courses for kids

Specifications

Price: Free
Topics include: Basic coding
Free trial: Not needed

Reasons to buy

+
Child-focused
+
Free
+
Fun for adults too

Reasons to avoid

-
Only for beginners

If you have kids between the ages of six and 11 that are interested in learning to code, BT has found a way of teaching online coding in a way that's great fun for youngsters. At Code A Cake, a colourful website created by AnalogFolk, you create a robot-staffed bakery in order to bake a cake, using the art of coding. 

Yes, it sounds strange, but we think this is a clever way to get kids interested in picking up some basic coding skills. Parents may well learn a thing or two along the way, too.

How do I choose the best online coding course for me?

To choose the best online coding course for you we recommend considering your personal learning style (for example, verbal, visual, auditory or kinesthetic). A mix of all four is often the most effective route; for example, a video-based course that has transcripts you can read with diagrams and images and practical tasks that you have to complete. App-based courses are often good for achieving this mix.

You should also look at whether course includes dedicated mentorship. Since you'll be studying remotely, you can't go and knock on the door of a teacher when you have questions, but some online coding courses will give you a dedicated mentor to contact when needed or occasional opportunities for a one-on-one to ask questions.

Another thing to look out for is whether the coding course offers opportunities for real problem-solving. A lot of video courses have you coding along with an instructor but don't challenge you with the kinds of real problems you would have to solve in on a job – things like analysing cause and effect, debugging, and refactoring.

Finally, look at whether the course you're considering has a community where you can ask and respond to questions from other students. Sometimes you can learn as much from the community of other students since this provides opportunities to share problems and queries and reinforce learning with the help of others.

Some of the names on our list of the best coding schools above are likely to be familiar to you, while others are less known but have interesting offerings. Some specialise specifically in coding courses – sometimes even in particular niche areas of coding, while others are more general course providers with online study programs on all kinds of topics. Some of the better-known providers often have larger community support, but smaller providers may be able to cater to specific niches that you want to develop.

Should I consider one of the best free online coding courses?

We've found that paid-for coding courses usually offer a much more thorough grounding and better support than free coding courses, but we've included the best free online coding courses that we've been able to find too since these offer an entry point for beginners who aren't yet ready to commit to a paid course. You can always take a paid course afterwards once you know you want to take your coding further.

What code should I learn?

There are many coding languages, frameworks and tools, so it can be hard to know where to begin if you're just starting out learning to code. Many online coding schools focus on frontend development as an accessible way into web development – after all this covers the visible part of websites that people are most familiar with and interact with every day

However, companies in many sectors are looking for programmers who can work across front and backend, so a full-stack development programme could win you more employment options. The course will take longer to complete but you should finish it with a fuller range of skills.

Ultimately what code you choose to learn from the best online coding courses will depend on the area you want to work in. Python is number one programming language today, used by around 80% of developers. It can do virtually anything and has good collections of APIs and libraries.

If you want to work in mobile apps, you'll probably want to learn Java, Kotlin and Swift, and for gaming, you're likely to want C++ and Unreal Engine and/or C# with Unity Engine. You'll want to learn C language for operating systems, and for websites you'll want JavaScript or TypeScript for front-end, Python or Ruby for back-end. For more on this, see our guide to the 4 most in-demand programming languages.

Do I need coding certification?

Certification is another factor to consider when choosing the best coding course. It can be very beneficial to have evidence of your study that you can take to interviews or add to your LinkedIn profile. Whether you need certification to prove your new skills might depend on where you want to work since qualifications are more likely to be requested if you're applying for an in-house position.

Most courses will offer some sort of validation to certify that you've completed their syllabus, but, how much that is worth can depend on how recognised the course provider is, which is why we've been sure to include some highly recognised online coding course providers in our list above.

Do I need to learn to code to build a website?

No, there is certainly no need to learn to code to build a website. If you're not sure about taking the plunge into coding and want to get a website up and running as quickly as possible, you can do that with one of the best website builders together with the best web hosting and get online in no time at all with no coding necessary.

Web builders provide templates that you can then customise to suit your needs. Of course, how much you can customise the site is limited. And while web builders are getting better all the time, knowing at least something about html and CSS will certainly be useful if you want to do anything beyond the most basic customisations to get your site how you want it. 

You might find some web design inspiration in our selected examples of great CSS animation, and parallax scrolling and our recommended steps to achieve the perfect website layout.

Tom May

Tom May is an award-winning journalist and editor specialising in design, photography and technology. Author of the Amazon #1 bestseller Great TED Talks: Creativity, published by Pavilion Books, Tom was previously editor of Professional Photography magazine, associate editor at Creative Bloq, and deputy editor at net magazine. Today, he is a regular contributor to Creative Bloq and its sister sites Digital Camera World, T3.com and Tech Radar. He also writes for Creative Boom and works on content marketing projects.