Want to learn to code? There are plenty of free online coding classes, but unfortunately, many of them are out of date. That’s why I put together this list of 42 free coding courses so that you can learn how to code in 2021.
If you’re new to programming? My advice would be that you start with one of the free HTML classes. HTML is the fundamental language of the web, and after you know HTML learning Python, Ruby and SQL will all be much easier.
I. Learn to Code for Beginners
Curious about coding? Want to learn to speak geek? Don’t be overwhelmed — this beginner course is the perfect introduction to web development with HTML, and CSS.
Featuring free access to Python, SQL, Git, and much more. More than 100 classes, coding tutorials, practice challenges, data projects, and more.
3. Khan Academy
4. GA Dash
QuickCode offers free trials for classes in a number of various programming languages. The most popular project on QuickCode is the opportunity to build a virtual voice assistant.
Coursera lets users take classes from top universities for free. Unlike Codecademy or Udemy, with Coursera it’s mandatory that you enroll on a specific date for their upcoming class.
MITOpenCourseWare’s course content comes from (you guessed it) MIT. The courses here tend to be more technical in nature tackling topics like C memory management, Java, and MATLAB.
10. Free Code Camp
11. Code Avengers
II. Learn HTML & CSS
13. HTML Dog
Shay Howe’s page is a training guide for both HTML and CSS. Howe breaks coding down into 12 simple lessons, and offers advanced lessons if you’d like to go further.
MarkSheet is a solid free option for HTML and CSS, and it breaks down lessons for absolute beginners, designers, and developers. MarkSheet’s Jeremy Thomas is also offering a new eBook, “Learn CSS in 44 minutes.”
Mozilla’s network has a number of different options for those looking to learn to code: HTML and CSS are on the top of that list. The network also offers a frequently updated blog, and an open community which allows users to make suggested changes.
Easy to remember and easy to get into, it’s a good starting point for true newbies. Front and center, the site offers a series of challenges as soon as you load up the homepage.
19. Learn JS
Learn JS is a straightforward site with tutorials. The site features code and output windows that can give you an immediate idea of what your code is doing. You can also contribute tutorials yourself.
20. Watch and Code
You don’t have to like cats to use this site, which teaches the basics. But it won’t hurt to be feline-inclined. This site is probably one of the quickest reads on the whole list, which makes it ideal for novices.
III. Learn Python
From the same people who brought you Learn JS, Learn Python is a clean site with plenty of tutorials. Again, users can contribute their own tutorials, as well.
23. Learn Python
The course offers the basics of Python with a focus on business use cases. In this free Python course you’ll learn how to install Python 3, command line basics, strings, comments, variables, Python debugging, and all the Python basics you need to know in order to write your first Python script!
VI. Learn Ruby
24. Ruby Tutorial
If you’re curious in learning Ruby, why not check out the official Ruby site? It offers a way to try Ruby from within your browsers, and also includes a tutorial called Ruby in Twenty Minutes.
Michael Hartl’s tutorial is basically an online book, but some people may learn better this way. Even though it’s an eBook, the tutorial still offers plenty of screenshots and images.
V. Learn SQL
A tutorial page for learning SQL that features screenshots. It offers a number of steps to get into SQL, and a helpful tool called MySQL TryIt.
Features basic interactive courses for a number of SQL topics including functions and queries. A helpful Course Advisor lets users know where to begin.
VI. Learn The Command Line
Another free Michael Hartl offering, this one is focused on Command Line. The full title? Learn Enough Command Line To Be Dangerous. It’s designed to appeal to a broad audience, so everyone is welcome to start here.
VII. Git and Github
30. Learn Enough Git
As its name implies, users are immediately immersed in Git in order to learn the basics. A no-nonsense site with a slightly different approach.
31. Try Git
A list of resources for learning Git. It includes the GitHub Learning Lab, which offers a series of projects. The site’s Git-It tool can be downloaded to your computer for a hands-on tutorial.
VIII. Learn WordPress
The title sort of says it all, doesn’t it? A free site of resources for WordPress newbies. The blog also answers a lot of questions beginners may have.
IX. Learn iOS & Mobile App Development
A free iOS app from Apple that teaches users how to learn its own programming language. If you’re already used to using iPad apps, this may feel as much like a game as learning a new language.
What Swift Playgrounds is to iOS, this is for prospective Android developers. There’s a bootcamp for beginners, but a number of intermediate and advanced courses, as well.
Another popular resource focused on learning to develop for Android. It can feel a bit much, but a Get started section offers the chance to get right into building your first app.
X. Learn Machine Learning/AI
37. Google AI
Free machine learning/AI courses from the folks at Google. It’s a Google-backed site, so as you might expect, it’s clean and easy to navigate. This course features machine learning guides and a crash course, too.
Machine Learning Mastery comes as a free eBook, but the site features tutorials and guides, as well. This site stresses that it aims for helping developers through straightforward language, promoting its relative lack of math compared to other machine learning sites.
XI. The Best Coding Podcasts
Laurence Bradford, host and friend of One Month, is passionate about making education affordable and accessible to all. She is a self-taught coder and her podcast features guests and subjects that revolve around learning to code, programming languages, finding a job as a programmer, starting a business and more.
Each week the Learn to Code Podcast interviews people from a variety of fields like developers, doctors, data journalists, and product managers to ask them: How did you learn to code? And how has learning to code helped you at your job? Guests include Mattan Griffel (Columbia Business School), Chris Coyier (CSS-Tricks.com), Joel Califa (Product Designer at GitHub), and Nathan Bashaw (Product Hunt).
42. Developer Tea
Top-ranked podcast for developers made to fit in your tea break. 11m+ downloads and counting. Host Jonathan Curtrell breaks down learning to code, developer best practices, and motivation in over 300 episodes of the podcast.