Chris Castiglione Teacher at One Month. Faculty at Columbia University where I teach Digital Literacy. I write about coding, the internet, and social impact.

42 of the Best Online Resources to Learn to Code for Free in 2019

5 min read

Want to learn to code? There are plenty of free online coding courses, but unfortunately, many of them are out of date. That’s why I put together this list of 42 free online coding resources so that you learn to code for free in 2019.

If you’re new to programming? Start with one of the free HTML courses.

After you learn the basics of HTML you can move on to more than 40 other sites where you can learn to code JavaScript, Ruby, Python, SQL, the Command Line, Git, and Swift — all for free. If you have any questions about what’s best for you? You can reach out to and we’ll help answer any questions you have about One Month online courses or any online courses you’re considering!

I. Learn to Code for Beginners

1. Learn HTML for Free

Learn Computer Programming with One Month

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.

2. Datacamp

Learn Coding with DataCamp

Featuring free access to Python, SQL, Git, and much more. More than 100 courses, practice challenges, data projects, and more.

3. Khan Academy

Learn to Code with Khan Academy

Khan Academy has free courses for just about everything. But the site’s computer programming section offers SQL, HTML, and JavaScript. If you can’t decide what language to start with, try a basics/intro course.

4. GA Dash

Learn to Code with GA Dash

Another site that specializes in HTML, CSS, and JavaScript. General Assembly aims to teach, but also to offer “career transformation.”

5. QuickCode

Learn to Code with Quick Code

QuickCode offers free trials for courses in a number of various programming languages. Unique courses include making a platformer and building a virtual assistant.

6. Coursera

Learn to Code with Coursera

Coursera lets users take courses from top universities for free. Unlike most of these sites, you have to enroll for an upcoming class. It’s a bit different, but may provide a great experience.

7. MITOpenCourseWare

Learn to Code with MIT Open Course Ware

Unlike Coursera, MITOpenCourseWare offers old courses, and from one university: MIT. Within programming languages, there are numerous options. It can be tough to navigate, but not if you start at the link we’ve included.

8. The Odin Project

Learn to Code with The Odin Project

HTML, JavaScript, GIT, Ruby and more, all on a clean, well-designed website. The site is supported by an open source community, so you can expect plenty of updates and support.


9. Learn Code The Hard Way

Learn to Code with Learn Code the Hard Way

Python, Ruby, JavaScript, SQL and more. Don’t be thrown off: this site will ask you to buy a book, but you can learn using the website for free.

10. Free Code Camp

Learn to Code at free code camp

HTML, Git, JavaScript, databases, CSS and more. No confusion here — check the name. You can even do coding for non-profits to get some experience.

11. Code Avengers

Learn to Code with Code Avengers

Code Avengers offers Python, HTML, JavaScript and more. Code Avengers is a site which specializes to kids as well as adult learners, which makes it unique on this long list.


Learn to Code with

Bento features more than 100 different web development topics including HTML, Git, JavaScript, Python and more. The site also offers “learning tracks,” which are free full stack web dev curriculums.

II. Learn HTML & CSS

13. HTML Dog

Learn HTML with HTML Dog

HTML Dog has been around since 2003. It offers tutorials in both HTML and CSS (as well as JavaScript). The site offers tutorials, techniques, examples, and references, and does so in a straightforward fashion.

14. Learn HTML & CSS for Free

Learn HTML & CSS with Learn to Code with HTML & CSS

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.


Learn HTML & CSS with MarkSheet

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.”

16. Mozilla Developer Network

learn to code with mozilla developers

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.

III. Learn JavaScript

17. Learn JavaScript with One Month

Learn JavaScript with One Month

Build four real-world projects with One Month JavaScript. While the course costs, the free trial allows free access to the course in which you can launch your first JavaScript project!


Learn JavScript with

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 JavaScript with 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

Learn JavaScript from Watch and Code

Watch and Code only concentrates on JavaScript, and it focuses on what’s used most in web programming. The site offers weekly instructor-led video chats, as well — a unique feature that may be extremely helpful for certain learners.

21. JavaScript For Cats

Learn JavaScript with JavaScript for cats

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


Learn Python with

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

Learn Python at One Month

The course offer the basics of Python with a focus on business use cases. In this course you’ll learn BeautifulSoup for web scraping, Pandas for data analysis, run a Flask server, and much more! While there is an enrollment cost, the free trial allows free access to the course!

VI. Learn Ruby

24. Ruby Tutorial

Learn Ruby with this Free Ruby Tutorial
Learn Ruby with this Free 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.

25. Ruby on Rails Tutorial

Learn Rails with the Ruby on Rails tutorial

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

26. MySQLTutorial

Learn SQL with MySQL Tutorial

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.

27. Vertabelo Academy

Learn SQL with Vertabelo Academy

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

28. Learn Command Line Basics for Free

Learn Command Line at One Month

A free command Line basics video course that can be completed in under one hour.

29. Learn Enough Command Line

Learn Command Line with Learn Enough

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 GitLearn Git and Github with Git Immersion

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

Learn Git and Github with 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

32. WPBeginner’s WordPress Tutorial

Learn WordPress with WPBeginner

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.


Learn WordPress with WordPress.tvIf you’re better when learning from a video, features a number of helpful vids. The site includes new updated videos in a blog.

IX. Learn iOS & Mobile App Development

34. Swift Playgrounds

Learn Mobile App Development with Swift Playground

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.

35. Google Developers Training

Learn Mobile App Development with Google Developers Training

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.

36. Android Developers

Learn Mobile App Development with Android Developers

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

Learn Machine Learning/AI With 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. Features machine learning guides and a crash course, too.

38. Machine Learning Mastery

Learn Machine Learning/AI with Machine Learning Mastery

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

39. Learn to Code with Me

Learn to Code with Me Podcast

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.

40. ShopTalkShow


An internet radio show about the internet starring Dave Rupert and Chris Coyier. This live podcast has guests and subjects that center around front end web design, development, and UX.

41. Learn to Code in One Month!

Learn to Code Podcast
Learn to Code Podcast

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 ( and Nathan Bashaw (Product Hunt).

42. Developer Tea

Developer Tea

Top-ranked podcast for developers made to fit in your tea break. 11m+ downloads and counting.

Chris Castiglione Teacher at One Month. Faculty at Columbia University where I teach Digital Literacy. I write about coding, the internet, and social impact.

One Reply to “42 of the Best Online Resources to Learn to…”

  1. Excellent Post
    For learning online coding on free of cost. I totally agree with this article.
    It is really helpful to self learner web developers.
    Thank you for sharing your great knowledge with us.
    Looking forward to your further tips on similar topics Thanks…
    I really appreciate it.

Leave a Reply

Your email address will not be published. Required fields are marked *